Forked lockigest to work on hyprland. Can probably be modified to support other WMs as well. TODO:
- Add notifications instead of terminal text
- Make it easier to automate
- The systemd service the author had intended to add
Dependencies:
- hyprland
- ydotool
- systemd (for
loginctl lock-session) - jq (parsing hyprctl)
Variables format changed, look at the start of the file to change them
Previous README
Lockigest is a very primitive, manipulative security software that sets a trap instead of locking your device screen immediately to protect it from strangers.
- English: https://elma.dev/work/lockigest/
- Turkish: https://elma.dev/tr/work/lockigest/
These two lines of code are enough to set up your Lockigest:
...
wait_time=120
countdown=5
...The first one is the time, in seconds, that must pass before starting protection mode (setting a trap).
The second variable is a countdown that will be trigged when protection mode is activated. Locks the screen when it reaches zero. If the user moves the cursor to the predefined area, this countdown stops and disables the protection mode.
./lockigest.sh Soon I will add a systemd service unit to run Lockigest in the background at startup.