Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 314 Bytes
#!/bin/bash
LOCK_IMAGE=$HOME/mega/docs/pictures/lock-symbol.png
scrot /tmp/screen.png
convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png
#[[ -f ${LOCK_IMGE} ]] && convert /tmp/screen.png ${LOCK_IMAGE} -gravity center -composite -matte /tmp/screen.png
i3lock -u -i /tmp/screen.png
rm /tmp/screen.png