vincentbernat.i3wm-configur.../bin/xautolock
Vincent Bernat 51525044ae xlock: lock screen faster by invoking i3lock directly
Instead of trying to mess with xautolock to trigger locking, just
invoke i3lock directly.
2013-11-01 09:23:26 +01:00

11 lines
219 B
Bash
Executable file

#!/bin/sh
icon="$1"
notify=$(dirname $(readlink -f "$0"))/notify-lock
locker=$(dirname $(readlink -f "$0"))/locker
exec xautolock \
-time 4 \
-locker "$locker" \
-notify 10 \
-notifier "$notify $icon"