#!/bin/bash #TMP=/tmp/lockscreen.png #scrot -q 30 -z $TMP #convert $TMP -scale 10% -scale 1000% $TMP #blurscreen $TMP #convert -brightness-contrast -50x-40 $TMP $TMP #scrot $TMP -e 'convert -resize 20% -fill "#282828" -colorize 50% -blur 0x1 -resize 500% $f '"$TMP" #convert -gravity Center -composite $TMP ~/.config/lock.png $TMP exec i3lock -u -i ~/.config/lockimage.png -c 000000