Go to file
Khue Doan 37f091cb16 Add blur effect instruction 2021-04-12 08:38:41 +07:00
LICENSE Iinitial commit 2019-06-09 18:38:11 +07:00
Makefile Iinitial commit 2019-06-09 18:38:11 +07:00
README.md Add blur effect instruction 2021-04-12 08:38:41 +07:00
arg.h Iinitial commit 2019-06-09 18:38:11 +07:00
config.def.h Use lower case for color code 2020-05-14 13:18:56 +07:00
config.h Temporary seg fault fix 2020-08-22 19:11:42 +07:00
config.mk Iinitial commit 2019-06-09 18:38:11 +07:00
explicit_bzero.c Iinitial commit 2019-06-09 18:38:11 +07:00
slock.1 Apply message patch 2019-06-09 19:55:41 +07:00
slock.c Replace spaces with tabs for consistency 2019-06-10 09:08:43 +07:00
util.h Iinitial commit 2019-06-09 18:38:11 +07:00

README.md

slock - simple screen locker

simple screen locker utility for X.

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.

Blur effect

This fork leverages picom's new kawase blur method instead of taking a screenshot, blur it using ImageMagick without hardware acceleration and then set it as the lock screen wallpaper. The end result is much higher performance and much lower latency.

Currently, you will need to enable the experimental backend in picom using picom --experimental-backends, you can check out my picom config here.