sway: Stop gpg-agent when locking screen

This clears the cached PIN of the connected smartcard.
This commit is contained in:
Peter Cai 2022-10-10 09:07:32 -04:00
parent 4e844fecf2
commit a0bf14aba6

View file

@ -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