slock - simple screen locker (fork)
A bloated fork of suckless slock with lots of customizations.
This fork merges the following patches:
- slock-alternate-colors: alternate colors on keyboard input
- slock-blur_pixelated_screen: blurs and pixelate the screen
- slock-capscolor: alternate color when caplock is on
- slock-control-clear: ignore control keys when buffer is empty
- slock-dpms: turns off monitor after timeout
- slock-dwmlogoandblurscreen: adds a dwm logo
- slock-failure-command: exec command after X unsucessful attempts
- slock-mediakeys: allows media keys to be used while screen is locked
- slock-message-xft: shows a message, using xft fonts
- slock-pam_auth: uses PAM auth
- slock-quickcancel: cancel slock within small time period
And adds the following other changes:
- lock icon instead of the dwm logo (configurable)
- quick cancel using any keyboard key
- load image to use as a background
- configuration file; loads configuration from
$XDG_CONFIG_HOME/slock/slock.toml
if it exists
Have a look at slock.toml!
Building and installing
- clone this repository locally on your machine
- run
make clean && sudo make install
from within the repository folder
- copy and edit the config file:
cp /etc/slock/slock.toml $XDG_CONFIG_HOME/slock/slock.toml
Previews