improve lock screen
[dotfiles.git] / x / .local / bin / lock.sh
1 #!/bin/sh
2 echo RELOADAGENT | gpg-connect-agent;
3 import -window root -resize 25% - | convert \
4 -pointsize 20 \
5 -gravity center \
6 -fill white \
7 -font DejaVu-Sans-Mono \
8 -annotate +0+0 "Type password to unlock" \
9 -resize 400% \
10 - png:- | i3lock -i /dev/stdin