diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-05-09 11:30:14 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-05-09 11:30:14 +0200 |
commit | 95ae8caba4648290ec81058aed4104082421cdb5 (patch) | |
tree | 90f370c992d039d8f48378dd4e85ef9599039558 | |
parent | 6fff963d82c642451a4adefe29f91eb48a2c58ce (diff) | |
download | scripts-95ae8caba4648290ec81058aed4104082421cdb5.tar.gz scripts-95ae8caba4648290ec81058aed4104082421cdb5.zip |
Changed lock effect.
-rwxr-xr-x | i3lock.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,5 +6,9 @@ imgLock="$HOME/images/icons/lock.png" imgTemp="/tmp/i3lockss.png" imgFinal="/tmp/lockFinal$(date +"%H%M%S").png" maim "$imgTemp" -[ -e "$imgLock" ] && convert "$imgTemp" -paint 1 -swirl -30 "$imgLock" -gravity center -composite "$imgFinal" +#[ -e "$imgLock" ] && convert "$imgTemp" -paint 1 -swirl -30 "$imgLock" -gravity center -composite "$imgFinal" +#[ -e "$imgLock" ] && convert "$imgTemp" "$imgLock" -gravity center -composite -monochrome "$imgFinal" +#[ -e "$imgLock" ] && convert "$imgTemp" -edge 3 "$imgLock" -gravity center -composite "$imgFinal" +#[ -e "$imgLock" ] && convert "$imgTemp" -colors 8 "$imgFinal" +[ -e "$imgLock" ] && convert "$imgTemp" -canny 1x1 "$imgFinal" i3lock -i "$imgFinal" -f || i3lock -i "$imgTemp" -f |