Simple screen locker utility for X.
Forked from https://git.suckless.org/slock
Based on patch https://tools.suckless.org/slock/patches/blur-pixelated-screen/
You need GCC 12+, CMake 3.20+, and the X extensions XShm, Xinerama, Xrandr.
- install:
cmake -B build -D CMAKE_BUILD_TYPE=Release && cmake --build build && sudo cmake --install build
note: default prefix (/usr/local
) can be overridden with--prefix <dir>
- uninstall:
cat build/install_manifest.txt | sudo xargs rm
You might need to modify config.h
according to your setup.
Run slock
to lock screen. Type your password and <ENTER>
to unlock.