aboutsummaryrefslogtreecommitdiff
path: root/home/bin/lock
diff options
context:
space:
mode:
Diffstat (limited to 'home/bin/lock')
-rwxr-xr-xhome/bin/lock1
1 files changed, 1 insertions, 0 deletions
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