Forget cached passphrases on screen lock
This commit is contained in:
parent
5eb391013c
commit
494cec4350
1 changed files with 7 additions and 0 deletions
|
@ -3,4 +3,11 @@
|
|||
WPDIR=~/Images/wallpapers/
|
||||
WALLPAPER=$WPDIR/wallpaper_lock.png
|
||||
|
||||
if [ -x /usr/bin/gpg-connect-agent ] ; then
|
||||
[ -f ~/.bash_sshagent ] && source ~/.bash_sshagent
|
||||
echo "$SSH_AUTH_SOCK" | grep -q gpg && \
|
||||
echo "RELOADAGENT" | gpg-connect-agent > /dev/null
|
||||
echo "FORGET MEH" | xclip -selection clipboard
|
||||
fi
|
||||
|
||||
/usr/bin/i3lock -tefi "$WALLPAPER"
|
||||
|
|
Loading…
Reference in a new issue