5cf2de02aa1b4eb6ae039d187aa6f3499ea1924a
[dotfiles.git] / x / .local / bin / lock.sh
1 #!/bin/sh
2 echo RELOADAGENT | gpg-connect-agent
3 import -window root -resize 10% - | 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 1000% \
10 - png:- | i3lock -i /dev/stdin