diff --git a/yubi-insert.sh b/yubi-insert.sh index 1f605d6..8454f3d 100755 --- a/yubi-insert.sh +++ b/yubi-insert.sh @@ -8,5 +8,5 @@ export DISPLAY=:0 # We only unlock the device if the key matches if [[ "$YUBIKEY_SERIAL" -eq "$DEVICE_SERIAL" ]]; then echo "`date` unlocked using yubkikey" >> $LOGFILE - /usr/bin/systemctl stop i3lock.service + xautolock -unlocknow fi \ No newline at end of file