commit b73b9f5b01825fe8d4aa9918db627a0ff1da4c3e
parent f2d27eaf93994ec34cb570ee244c1c52d94aacf7
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Fri, 16 Oct 2015 21:42:04 +0100
forget gpg-agent passphrase when going afk
Diffstat:
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/afk b/afk
@@ -1,3 +1,7 @@
#!/bin/bash
-xtrlock
+# forget gpg passphrase
+killall -s HUP gpg-agent
+
+exec xtrlock
+
diff --git a/dodo b/dodo
@@ -1,3 +1,11 @@
+#!/bin/bash
+
sudo echo
+
+# forget GPG passphrase
+killall -s HUP gpg-agent
+
xtrlock &
+
sudo pm-suspend
+