Files
nix-config/dotfiles/hypr-lap/source/autostart.lua
T
smayzy 01e8bed0fc
nixos config pipeline / show-flake (push) Successful in 22s
nixos config pipeline / deploy (push) Successful in 56s
add hyprland lua conf for laptops
2026-08-26 23:40:14 +02:00

17 lines
560 B
Lua

-- exec_once
hl.on("hyprland.start", function ()
hl.exec_cmd("waybar")
hl.exec_cmd("/home/smayzy/.config/hypr/battery.sh")
hl.exec_cmd("systemctl --user start hypr-wallpaper.service")
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")
end)