feat: gtklock lock screen and Mod+Q power menu #51
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/lockscreen"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A gtklock lock screen (clock + password field, themed from
m4rti.theme) on every host, a Mod+Q power menu on every host, and idle/sleep locking on laptops only.gtklock -dreturns only once the session is locked, so with swayidle's-wsuspend waits for the lock.Evidence
After:
cumpadandcumputertoplevels evaluate;powermenubuilds (shellcheck passes). Generated/etc/xdg/gtklock/config.ini: swayidle on cumpad:swayidle -w timeout 300 'gtklock -d' before-sleep 'gtklock -d' lock 'gtklock -d';services.swayidle.enable = falseon cumputer.Not yet tested by actually locking a live session.
Merge Danger
Door: two-way
Revert the two commits to remove it.
Blast Radius: session
A broken locker could leave a session locked; recovery is another VT (Ctrl+Alt+F2). Lid-close now waits for the lock before suspending.
🤖 Generated with Claude Code