summaryrefslogtreecommitdiffstats
path: root/xss-lock
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-27 23:01:35 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-27 23:01:35 -0500
commitf50141d5a5ee871b80ba9e7be17570777876c414 (patch)
tree4ab5c8d395f40d5471f7a25e7493bafc43d946dd /xss-lock
parent5adaa58692524902d6b7a0d5b4230641ced61c06 (diff)
downloadconf-f50141d5a5ee871b80ba9e7be17570777876c414.tar.gz
conf-f50141d5a5ee871b80ba9e7be17570777876c414.zip
on-lock is only used by xss-lock
Diffstat (limited to 'xss-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