2016-09-04 13:58:13 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
WPDIR=~/Images/wallpapers/
|
|
|
|
WALLPAPER=$WPDIR/wallpaper_lock.png
|
|
|
|
|
2017-03-06 23:43:41 +01:00
|
|
|
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
|
2017-03-15 10:12:39 +01:00
|
|
|
echo -n "" | xclip -selection clipboard
|
2017-03-06 23:43:41 +01:00
|
|
|
fi
|
|
|
|
|
2016-09-04 13:58:13 +02:00
|
|
|
/usr/bin/i3lock -tefi "$WALLPAPER"
|