Go to file
xdrm-brackets 725454828c add [Install] for service 2019-03-03 17:28:03 +01:00
src update readme + random lock file + cleanup code 2019-03-03 14:13:09 +01:00
systemd add [Install] for service 2019-03-03 17:28:03 +01:00
README.md update readme + random lock file + cleanup code 2019-03-03 14:13:09 +01:00
install.sh improve readme + make a real daemon 2019-03-03 14:01:16 +01:00

README.md

xlock screen locker

xlock really does nothing, it only wraps i3lock screen locker into systemd to allow a seamless screen lock. Your screen stays the same, the mouse pointer works, but you can't do anything. You just have to type your password, press enter and here you go .

Even if one finds out how to kill the i3lock process or the xlock one, it won't unlock your screen.

Installation

Requirements :

run ./install.sh ; note that you need sudo permissions.

How to use

The whole wrapper interfaces through a random file at /tmp/RANDOM.xlock. To lock your screen, simply delete this file. After the install the service 'xlock@USER.path' with USER being the user that launched the install. To start it systemctl start xlock@USER.path, at the install it is enabled by default, thus it is launched when you boot.

To add a key binding or to automate your script lock, simply delete files for the pattern /tmp/*.xlock.