This commit is contained in:
10
readme.md
10
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
|
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/libahfail_pam.so` — PAM module (for X11)
|
||||||
- `/usr/lib/ahfail/ahfail-display` — standalone display binary
|
- `/usr/lib/ahfail/ahfail-display` — standalone display binary
|
||||||
|
|
||||||
### Usage Linux - wayland (only gtklock)
|
---
|
||||||
|
|
||||||
|
## Usage Linux - wayland (only gtklock)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gtklock -m /usr/lib/gtklock/ahfail-module.so
|
gtklock -m /usr/lib/gtklock/ahfail-module.so
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Arguments
|
### Arguments
|
||||||
|
|
||||||
Pass module arguments after `--`:
|
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
|
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.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user