From 757fdac68531e623f670e2297b744cf14bc4b976 Mon Sep 17 00:00:00 2001 From: Abhay Rana Date: Mon, 30 Jan 2017 16:08:34 +0530 Subject: [PATCH] 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 --- yubilock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yubilock.sh b/yubilock.sh index f00fe4b..95a575a 100755 --- a/yubilock.sh +++ b/yubilock.sh @@ -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 \ No newline at end of file