hyprland binds: use hyprlock when forcing lockscreen via keybind

This commit is contained in:
2026-07-05 23:32:15 +02:00
parent 7b5172d28b
commit 5ed8df01c0

View File

@@ -86,7 +86,7 @@ hl.bind("XF86MonBrightnessDown",hl.dsp.exec_cmd("noctalia msg brightness-down"),
-- Noctalia shutdown menu
hl.bind(mainMod .. " + Delete",hl.dsp.exec_cmd("noctalia msg panel-toggle session"),{ release = true, locked = false, repeating = false })
-- Long press for lock screen (prevents accidental presses)
hl.bind(mainMod .. " + Delete",hl.dsp.exec_cmd("noctalia msg session lock"),{ long_press = true, locked = false, repeating = false })
hl.bind(mainMod .. " + Delete",hl.dsp.exec_cmd("hyprlock --no-fade-in"),{ long_press = true, locked = false, repeating = false })
-- Noctalia settings menu
hl.bind(mainMod .. " + HOME",hl.dsp.exec_cmd("noctalia msg settings-toggle"),{ locked = false, repeating = false })
-- Do not disturb