aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@inpher.io>2019-03-28 15:14:02 -0400
committerJakob Odersky <jakob@inpher.io>2019-03-28 15:14:02 -0400
commit9096639caa088ffbfa13095b8d593d914553f369 (patch)
treeb2b86808a0669bcad04bb6ad5bbd53e84b902db9
parent88c90958ceeba7cfadea2d78b422df1193b973b3 (diff)
downloaddotfiles-9096639caa088ffbfa13095b8d593d914553f369.tar.gz
dotfiles-9096639caa088ffbfa13095b8d593d914553f369.tar.bz2
dotfiles-9096639caa088ffbfa13095b8d593d914553f369.zip
Update config for yubikey
-rw-r--r--home/.gnupg/scdaemon.conf2
-rwxr-xr-xhome/bin/lock1
2 files changed, 1 insertions, 2 deletions
diff --git a/home/.gnupg/scdaemon.conf b/home/.gnupg/scdaemon.conf
deleted file mode 100644
index 482a8a2..0000000
--- a/home/.gnupg/scdaemon.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-# The ccid driver keeps a yubikey's led on permanently
-disable-ccid
diff --git a/home/bin/lock b/home/bin/lock
index 8f336bd..3401cfe 100755
--- a/home/bin/lock
+++ b/home/bin/lock
@@ -13,6 +13,7 @@ i3lock_options="--image=$screenshot --ignore-empty-password"
# Run before starting the locker
pre_lock() {
+ gpgconf --kill scdaemon || true
scrot "$screenshot" \
&& convert "$screenshot" -scale 5% -scale 2000% "$screenshot"
#mpc pause