From 42fe8f180b3ae0ee84ed978bca787d042ca72d79 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Tue, 14 Jul 2020 04:28:12 +0300 Subject: changes around lock script for better handling of gpg key unlocking --- dotfiles/.local/bin/lock-color | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dotfiles/.local/bin/lock-color') 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 - -- cgit v1.2.3