Migrate Hyprland config to Lua
Convert all Hyprland settings to Lua format, including animations, binds, environment variables, monitor definitions, and window rules. Update host variable files and noctalia plugin settings to match the new Lua‑based configuration.
This commit is contained in:
1 parent
1b4dd4e329
commit
e3a6d544b3
10 files changed
+1478
-320
No files matched your search
@@ -1,10 +1,6 @@
|
||||
_: {
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||
"systemctl --user start hyprpolkitagent"
|
||||
"noctalia"
|
||||
"wl-paste --type text --watch cliphist store" # Saves text
|
||||
"wl-paste --type image --watch cliphist store" # Saves images
|
||||
{lib, ...}: {
|
||||
wayland.windowManager.hyprland.settings.on._args = [
|
||||
"hyprland.start"
|
||||
(lib.generators.mkLuaInline "function()\n hl.exec_cmd(\"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP\")\n hl.exec_cmd(\"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP\")\n hl.exec_cmd(\"systemctl --user start hyprpolkitagent\")\n hl.exec_cmd(\"noctalia\")\n hl.exec_cmd(\"wl-paste --type text --watch cliphist store\")\n hl.exec_cmd(\"wl-paste --type image --watch cliphist store\")\nend")
|
||||
];
|
||||
}
|
||||
Reference in new issue
Block a user