Shifts to using systemd for calling i3lock from udev

- Details: https://github.com/i3/i3lock/issues/53
- h/t to @hiemansu for figuring this out
This commit is contained in:
Nemo 2017-01-30 16:08:34 +05:30
parent a483560087
commit 757fdac685
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@
LOGFILE="/home/nemo/logs/auth.log"
/bin/su nemo -c "DISPLAY=:0 /home/nemo/projects/scripts/i3lock.sh" >> $LOGFILE
/usr/bin/systemctl start --no-block i3lock.service
echo "`date` locked using Yubikey $?" >> $LOGFILE