Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 256 Bytes
#!/bin/bash
lockfi='/tmp/lock'
lockbg='/tmp/lock.png'
maim "$lockbg"
convert "$lockbg" -filter point -resize 5% -resize 2000% "$lockbg"
touch "$lockfi"
pkill -u "$USER" -USR1 dunst
i3lock -u -i "$lockbg"
trap "rm $lockfi; pkill -u $USER -USR2 dunst" EXIT