Lock on SUPER+Backspace too

A second door to the same logind lock signal, beside CTRL+ALT+L. The
keymap tables say so too.
This commit is contained in:
Gabriel Brown
2026-08-21 20:01:18 -04:00
parent c02329ac3c
commit 12d538c4af
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -287,6 +287,7 @@ bind(mod .. " + SHIFT + X", hl.dsp.window.move({ workspace = "special:scratch" }
-- GNOME's lock was SUPER+L, which is "focus right" here, so lock moves to
-- CTRL+ALT+L -- the other binding most people already have in muscle memory.
bind("CTRL + ALT + L", hl.dsp.exec_cmd("loginctl lock-session"), { description = "Lock" })
bind("SUPER + Backspace", hl.dsp.exec_cmd("loginctl lock-session"), { description = "Lock" })
bind("CTRL + ALT + Delete", hl.dsp.exec_cmd(qs("powermenu", "toggle")), { description = "Power menu" })
-- ── Media and volume ────────────────────────────────────────────────────────