diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-06-12 14:25:31 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-06-12 14:25:31 +0200 |
commit | afb1c135fbee2c1c9966293b63ea5b73be80fffe (patch) | |
tree | 896ed6fc4b61f1e60d856e14ade5a8a06d5d7c47 | |
parent | f535925a6d5c6e6080cfc75fbdf9a2d759dc4d27 (diff) | |
download | scripts-afb1c135fbee2c1c9966293b63ea5b73be80fffe.tar.gz scripts-afb1c135fbee2c1c9966293b63ea5b73be80fffe.zip |
Changed lock effect.
-rwxr-xr-x | i3lock.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -8,8 +8,7 @@ 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" "$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 +level-colors "#093145","#e0ea99" "$imgFinal" -identify -verbose "$imgFinal" >~/identify.log +#[ -e "$imgLock" ] && convert "$imgTemp" -canny 1x1 +level-colors "#093145","#e0ea99" "$imgFinal" +#[ -e "$imgLock" ] && convert "$imgTemp" -type Grayscale -paint 1 "$imgFinal" +[ -e "$imgLock" ] && convert "$imgTemp" -colors 2 +level-colors "#00001f","000000" "$imgFinal" i3lock -i "$imgFinal" -f || i3lock -i "$imgTemp" -f |