Go to file
xdrm-brackets 3cec27788e transform 'exec' to a 'while' loop to avoid recursion limitations 2019-03-03 13:33:59 +01:00
src transform 'exec' to a 'while' loop to avoid recursion limitations 2019-03-03 13:33:59 +01:00
systemd working demo 2019-03-02 19:47:03 +01:00
README.md transform 'exec' to a 'while' loop to avoid recursion limitations 2019-03-03 13:33:59 +01:00
install.sh working demo 2019-03-02 19:47:03 +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 .

Your friends and coworkers can try anything, they won't be able to do anything. Even if they find out how to kill the i3lock process, it won't unlock your computer.

Installation

Requirements :

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.