13 lines
355 B
Bash
Executable file
13 lines
355 B
Bash
Executable file
#!/bin/bash
|
|
|
|
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"
|