This is my build of slock, a simple X display locker.
Using the added utility called slockimg
, you can set a background
image for slock.
slockimg
adds an overlay image to the background image,
which by default is a picture of a padlock.
You can change the overlay image by changing the overlay.png
file.
The size and position of the overlay can be configured in config.h
.
Note: slockimg
requires imagemagick.
Inspired by i3lock
's circle-shaped input indicator, there is a
square that moves around in a rectangle to indicate key presses.
The colors and sizes of the indicator's elements can be
configured in config.h
.
If you have multiple keyboard layouts, slock switches to your main keyboard layout and restore your previous keyboard layout after unlocking.