feat: configure Hyprlock and locking before suspend

This commit is contained in:
hhhh hgfh 2026-10-05 00:37:52 +03:00
parent a95cf01724
commit e8b7684f35
6 changed files with 442 additions and 0 deletions

View file

@ -272,6 +272,7 @@ end
-- Example binds, see https://wiki.hypr.land/Configuring/Basics/Binds/ for more
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(terminal))
hl.bind(mainMod .. " + R", hl.dsp.exec_cmd(appsmenu))
hl.bind(mainMod .. " + L", hl.dsp.exec_cmd("pgrep -x hyprlock >/dev/null || hyprlock"))
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.exec_cmd("hyprshot -m region --clipboard-only"))
local closeWindowBind = hl.bind(mainMod .. " + C", hl.dsp.window.close())
-- closeWindowBind:set_enabled(false)