...
This commit is contained in:
parent
42df7f684a
commit
0fb637a5a4
1 changed files with 8 additions and 5 deletions
|
|
@ -1,9 +1,12 @@
|
|||
-- shutdown hyprland and lock
|
||||
hl.bind(
|
||||
"CTRL + ALT + M",
|
||||
hl.dsp.exec_cmd("command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()'"),
|
||||
{ description = "hyprland shutdown" }
|
||||
)
|
||||
hl.bind("CTRL + ALT + M", function()
|
||||
if os.execute("command -v hyprshutdown >/dev/null 2>&1") then
|
||||
hl.dsp.exec_cmd("hyprshutdown")()
|
||||
else
|
||||
hl.dsp.exit()
|
||||
end
|
||||
end, { description = "hyprland shutdown" })
|
||||
|
||||
hl.bind("CTRL + ALT + L", hl.dsp.exec_cmd(lockscreen))
|
||||
-- launchers
|
||||
hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue