just blur

This commit is contained in:
lickthecheese 2020-10-12 18:56:44 -04:00
parent abd120b4ae
commit e0dcf1e8cd
2 changed files with 4 additions and 10 deletions

View file

@ -1,18 +1,12 @@
#!/bin/bash
# i stole this from lukesmithxyz
# yay scrot time
rm /tmp/lockscreen.png
scrot /tmp/lockscreen.png
rm /tmp/lock.png
scrot /tmp/lock.png
# imagemagik is fun
#convert /tmp/lockscreen.png -paint 1 ~/.config/i3/lock.png -gravity center -composite -matte /tmp/lockscreen.png
convert /tmp/lockscreen.png -paint 1 -blur 8x5 ~/.config/i3/lock.png -gravity center -composite -matte /tmp/lockscreen.png
convert /tmp/lock.png -paint 1 -blur 8x5 -matte /tmp/lock.png
# hmm i3lock
i3lock -e -f -c 000000 -i /tmp/lockscreen.png
i3lock -e -f -c 000000 -i /tmp/lock.png
while [[ $(pgrep -x i3lock) ]]; do
sleep 5
done

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB