From f995ba6a8fc0a6ffa96cbb4e0b35bb7b44c3d2df Mon Sep 17 00:00:00 2001 From: Abhay Rana Date: Sun, 22 May 2016 23:39:35 +0530 Subject: [PATCH] yubikey - Lock my laptop quick --- yubilock.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 yubilock.sh diff --git a/yubilock.sh b/yubilock.sh new file mode 100755 index 0000000..6801ccc --- /dev/null +++ b/yubilock.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +/bin/su nemo -c "DISPLAY=:0 xautolock -locknow" \ No newline at end of file