diff options
-rw-r--r-- | home/.gnupg/scdaemon.conf | 2 | ||||
-rwxr-xr-x | home/bin/lock | 1 |
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 |