summaryrefslogtreecommitdiffstats
path: root/xss-lock/.bin/on-lock
diff options
context:
space:
mode:
Diffstat (limited to 'xss-lock/.bin/on-lock')
-rwxr-xr-xxss-lock/.bin/on-lock6
1 files changed, 6 insertions, 0 deletions
diff --git a/xss-lock/.bin/on-lock b/xss-lock/.bin/on-lock
new file mode 100755
index 0000000..3de3724
--- /dev/null
+++ b/xss-lock/.bin/on-lock
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+sudo -K
+ssh-add -D
+echo RELOADAGENT | gpg-connect-agent
+type rbw >/dev/null 2>&1 && rbw lock