updates readme.md
All checks were successful
Test / test (push) Successful in 6m3s

This commit is contained in:
Asger Geel Weirsøe
2026-05-06 15:39:35 +02:00
parent 2e40a0a23a
commit dc8c73a0dd

View File

@@ -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.