1.1 KiB
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 :
- i3lock
- scrot
run ./install.sh
; note that you need sudo permissions.
How to use
The whole wrapper interfaces through a simple file at /tmp/.unlocked
. 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 the /tmp/.unlocked
file.