Swaylock-effects-text is a fork of swaylock and swaylock-effects which adds the possibility to change the basic texts.
swaylock \
--text-clear Clear
--text-caps-lock Maj
--text-ver Check
--text-wrong Error
Install dependencies:
- meson *
- wayland
- wayland-protocols *
- libxkbcommon
- cairo
- gdk-pixbuf2 **
- pam (optional)
- scdoc (optional: man pages) *
- git *
- openmp (if using a compiler other than GCC)
*Compile-time dep **Optional: required for background images other than PNG
Run these commands:
meson build
ninja -C build
sudo ninja -C build install
Swaylock will drop root permissions shortly after startup.