Nb: This primarily exists for my own learning of Zig and Wayland; but if you find it useful, amazing!
DownLock is a zero-configuration screenlocker for Wayland. It is compatible with compositors that support the ext-session-lock-v1 and wlr-screencopy-unstable-v1 protocols.
(DownLock will use your locale for the time, date, prompt and responses)
Dependencies:
- zig 0.14
- wayland
- wayland-protocols
- wlr-protocols
- xkbcommon
- pam
- pangocairo
Build and install:
zig build --release=safe install
sudo cp ./zig-out/bin/downlock /usr/local/bin/
Just run downlock
, there is no configuration!