Files
nix-config/dotfiles/hypr-desk/source/autostart.lua
T
smayzy 19ec68c058
nixos config pipeline / show-flake (push) Successful in 17s
nixos config pipeline / deploy (push) Successful in 7s
add lua config for hyprland
2026-08-15 05:12:00 +02:00

19 lines
540 B
Lua

-- 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)