blob: 0b8ad16c191dabba401057d1ea8340621794d4d3 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
# Generates an i3lock bg based on a screenshot.
imgLock="$HOME/images/padlocks.png"
imgFinal="/tmp/lockFinal$(date +"%H%M%S").png"
maim /tmp/i3lockss.png
convert /tmp/i3lockss.png -paint 1 -swirl -120 "$imgLock" -gravity center -composite "$imgFinal"
i3lock -i "$imgFinal" -f
|