- Change colors - Disable fail on clear - Change message font name
slock - simple screen locker
Sravan's custom build of slock. Original slock build by suckless team found here: https://tools.suckless.org/slock/
Requirements
In order to build slock you need the Xlib header files.
Installation
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
Running slock
Simply invoke the slock
command. To get out of it, enter your password.
Configuration
The configuration of slock is done by creating a custom config.h and (re)compiling the source code.
Patches
Most patches can be found on the suckless website: https://tools.suckless.org/slock/patches/
- capscolor - Introduces an additional color to indicate the state of Caps Lock.
- mediakeys - Allows use of media keys while screen is locked
- message - This patch lets you add a message to your lock screen. You can place a default message in
config.h
, and you can also pass a message with-m message
- terminalkeys - Add key commands that are commonly used in terminal applications (in particular the login prompt) to slock
Description
Languages
C
81.9%
Makefile
12.8%
Roff
5.3%