From dc8c73a0dd6101fac0130edc883b63f2cf4e86a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Wed, 6 May 2026 15:39:35 +0200 Subject: [PATCH] updates readme.md --- readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 82a1a89..0b97554 100644 --- a/readme.md +++ b/readme.md @@ -39,7 +39,7 @@ sudo install -Dm755 /tmp/ahfail-install/libahfail_pam.so /usr/lib/ahfail/libahfa sudo install -Dm755 /tmp/ahfail-install/ahfail-display /usr/lib/ahfail/ahfail-display ``` -Then follow the [Wayland](#Usage-linux--wayland-only-gtklock) or [X11](#usage-linux--x11-i3lock-xscreensaver-etc) configuration below. +Then follow the [Wayland](#usage-linux---wayland-only-gtklock) or [X11](#usage-linux---x11-i3lock-xscreensaver-etc) configuration below. --- @@ -58,13 +58,15 @@ Installs: - `/usr/lib/ahfail/libahfail_pam.so` — PAM module (for X11) - `/usr/lib/ahfail/ahfail-display` — standalone display binary -### Usage Linux - wayland (only gtklock) +--- + +## Usage Linux - wayland (only gtklock) ```bash gtklock -m /usr/lib/gtklock/ahfail-module.so ``` -#### Arguments +### Arguments Pass module arguments after `--`: @@ -77,7 +79,7 @@ gtklock -m /usr/lib/gtklock/ahfail-module.so -- --deadzone=860,440,200,200 --- -### Usage Linux - X11 (i3lock, xscreensaver, etc.) +## Usage Linux - X11 (i3lock, xscreensaver, etc.) First compile as Add the PAM module to your screen locker's PAM service file. Use the full path — `$(libdir)/ahfail` is not in PAM's default search path.