Last active
January 24, 2018 00:44
-
-
Save atelic/e08d97196972dd8c5d25 to your computer and use it in GitHub Desktop.
An i3lock script for a cool overlay blur
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOCKDIR=/home/path/to/lock.png | |
scrot -e 'convert -blur 0x3 $f ~/lockbg.png;rm $f' | |
convert -gravity center -composite ~/lockbg.png $LOCKDIR/lock.png ~/lockfinal.png | |
i3lock -u -i ~/lockfinal.png | |
rm ~/lockfinal.png ~/lockbg.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment