Add ahfail, a screen locker of its own
ahfail locks the screen itself instead of hooking another locker: Wayland through ext-session-lock-v1 (gtk-session-lock), X11 through an input grab. It authenticates against its own PAM service, /etc/pam.d/ahfail, so a package never has to edit another package's PAM file. One command for every platform: ahfail (lock), ahfail test (the effect without locking) and ahfail doctor (what is missing, with the fix). Enter is handled directly and the entry uses no input method, since the Wayland text-input IM swallowed Return. Sprites avoid the password box in window coordinates, and placement gets 100 tries instead of 10. Claude-Session: https://claude.ai/code/session_012LCTmU2ewo8tnM1dByYAoG
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
# PAM service for the ahfail screen locker. Installed by the package as its own
|
||||
# file, the same way swaylock and gtklock ship theirs, so no other package's
|
||||
# PAM configuration is ever edited.
|
||||
auth include login
|
||||
Reference in New Issue
Block a user