#!/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 convert -fill black -colorize 50% $TMP $TMP exec i3lock -u -i $TMP