summaryrefslogtreecommitdiffstats
path: root/bin/.bin/on-lock
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2024-02-27 22:29:09 -0500
committerJesse Luehrs <doy@tozt.net>2024-02-27 22:29:09 -0500
commitd5e72ac1b3d1aacec097c1d41decbe748c035f06 (patch)
treee75f879e5cdf3b51eb23ab321eb6e8ec2ce6ea9a /bin/.bin/on-lock
parent0179eebc614a5668048b510cb7a0776354c16dc3 (diff)
downloadconf-d5e72ac1b3d1aacec097c1d41decbe748c035f06.tar.gz
conf-d5e72ac1b3d1aacec097c1d41decbe748c035f06.zip
rearrange some more things
Diffstat (limited to 'bin/.bin/on-lock')
-rwxr-xr-xbin/.bin/on-lock6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/.bin/on-lock b/bin/.bin/on-lock
new file mode 100755
index 0000000..3de3724
--- /dev/null
+++ b/bin/.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