Last active
August 29, 2015 14:19
-
-
Save chirag64/26eed7446dd3bd003e30 to your computer and use it in GitHub Desktop.
This file contains 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
# How to use: | |
# | |
# Dependencies - scort, imagemagick, i3lock | |
# | |
# Just place a lock.png in your home folder to overlay whatever you want | |
#!/bin/bash | |
scrot -e 'convert -blur 0x3 $f ~/lockbg.png' | |
convert -gravity center -composite ~/lockbg.png ~/lock.png ~/lockfinal.png | |
i3lock -i ~/lockfinal.png -p default -e | |
rm ~/lockfinal.png ~/lockbg.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment