This is my patched version of slock. I cloned the origianl git repo with
git clone https://git.suckless.org/slock
and than patched it with some patches found here.
The content of the original README file can be found below.
simple screen locker utility for X.
In order to build slock you need the Xlib header files.
Edit config.mk to match your local setup (slock is installed into the /usr/local namespace by default).
Afterwards enter the following command to build and install slock (if necessary as root):
make clean install
Simply invoke the 'slock' command. To get out of it, enter your password.