Skip to content

Instantly share code, notes, and snippets.

@alexjj
Last active August 29, 2015 14:21
Lock screen of blurred workspace
# How to use:
#
# 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 -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