add lua config for hyprland
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user