aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/lock-color
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-07-14 04:28:12 +0300
committerYaroslav <contact@yaroslavps.com>2020-07-14 04:28:12 +0300
commit42fe8f180b3ae0ee84ed978bca787d042ca72d79 (patch)
tree32152891a7293a6343398f9b5c227709a4be4599 /dotfiles/.local/bin/lock-color
parentc54028716921f75b9c4a5f667504629616df1288 (diff)
downloadswayrice-42fe8f180b3ae0ee84ed978bca787d042ca72d79.tar.gz
swayrice-42fe8f180b3ae0ee84ed978bca787d042ca72d79.zip
changes around lock script for better handling of gpg key unlocking
Diffstat (limited to 'dotfiles/.local/bin/lock-color')
-rwxr-xr-xdotfiles/.local/bin/lock-color4
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color
index c43fc15..0026842 100755
--- a/dotfiles/.local/bin/lock-color
+++ b/dotfiles/.local/bin/lock-color
@@ -2,9 +2,9 @@
swaymsg input type:keyboard xkb_switch_layout 0
-swayidle timeout 30 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
+gpg-connect-agent --no-autostart reloadagent /bye
+swayidle timeout 30 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' &
swaylock
pkill -n swayidle
-