mirror of https://github.com/captn3m0/Scripts.git
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:
parent
a483560087
commit
757fdac685
|
@ -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
|
Loading…
Reference in New Issue