From a0bf14aba6026b732fdc0f298ff1592ca4ed1fe4 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Mon, 10 Oct 2022 09:07:32 -0400 Subject: [PATCH] sway: Stop gpg-agent when locking screen This clears the cached PIN of the connected smartcard. --- sway/.config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index d30c6f1..2f62527 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -224,7 +224,7 @@ include /home/peter/.config/sway/local.d/* output "*" bg $wallpaper fill -bindsym Ctrl+Mod1+l exec swaylock -i $wallpaper --indicator-thickness 6 --ring-color ebdbb2 --inside-color 00000055 --key-hl-color 4d4d4d --line-uses-ring --separator-color 00000000 --text-color ebdbb2 +bindsym Ctrl+Mod1+l exec systemctl --user stop gpg-agent && swaylock -i $wallpaper --indicator-thickness 6 --ring-color ebdbb2 --inside-color 00000055 --key-hl-color 4d4d4d --line-uses-ring --separator-color 00000000 --text-color ebdbb2 bindsym $mod+x exec bemenu-run | xargs swaymsg exec -- bindsym Print exec grimshot --notify save area