You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
355 B

# File where whe do the processing
export FILE=/tmp/screen.png
# Take screenshoot
maim $FILE
i3lock -e -f -c 454545
# Do a bit of magick with ImageMagick
convert $FILE -paint 1 -swirl 360 ~/.local/share/logo.png -gravity center -composite -matte $FILE
# Stop tmp lock
killall i3lock
# Lock it up!
i3lock -e -f -c 000000 -i $FILE