Files
garandos/modules/home/hyprland/exec-once.nix
T
GarandPLG e3a6d544b3 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.
2026-10-25 15:36:51 +01:00

7 lines
564 B
Nix

{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")
];
}