Files
nix-config/dotfiles/hypr-desk/source/autostart.lua
T
smayzy 37bcd81e39
nixos config pipeline / show-flake (push) Successful in 24s
nixos config pipeline / deploy (push) Successful in 56s
small fixs
2026-08-23 10:43:28 +02:00

19 lines
538 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)