add lua config for hyprland
nixos config pipeline / show-flake (push) Successful in 17s
nixos config pipeline / deploy (push) Successful in 7s

This commit is contained in:
smayzy
2026-08-15 05:12:00 +02:00
parent c48368b501
commit 19ec68c058
8 changed files with 264 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
-- Autostarts here
-- exec_once
hl.on("hyprland.start", function ()
hl.exec_cmd("waybar")
hl.exec_cmd("hyprpaper")
hl.exec_cmd("wl-paste --type text --watch cliphist store")
hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("mako")
hl.exec_cmd("thunderbird", {workspace = "10 silent"})
end)
-- exec at each reload
hl.on("config.reloaded", function ()
hl.exec_cmd("killall waybar && waybar")
hl.exec_cmd("killall hyprpaper && hyprpaper")
end)