This commit is contained in:
afoucaultc 2026-07-08 09:48:33 +02:00
parent 42df7f684a
commit 0fb637a5a4

View file

@ -1,9 +1,12 @@
-- shutdown hyprland and lock -- shutdown hyprland and lock
hl.bind( hl.bind("CTRL + ALT + M", function()
"CTRL + ALT + M", if os.execute("command -v hyprshutdown >/dev/null 2>&1") then
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'"), hl.dsp.exec_cmd("hyprshutdown")()
{ description = "hyprland shutdown" } else
) hl.dsp.exit()
end
end, { description = "hyprland shutdown" })
hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen)) hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen))
-- launchers -- launchers
hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager)) hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager))