aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-06-12 14:25:31 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-06-12 14:25:31 +0200
commitafb1c135fbee2c1c9966293b63ea5b73be80fffe (patch)
tree896ed6fc4b61f1e60d856e14ade5a8a06d5d7c47
parentf535925a6d5c6e6080cfc75fbdf9a2d759dc4d27 (diff)
downloadscripts-afb1c135fbee2c1c9966293b63ea5b73be80fffe.tar.gz
scripts-afb1c135fbee2c1c9966293b63ea5b73be80fffe.zip
Changed lock effect.
-rwxr-xr-xi3lock.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/i3lock.sh b/i3lock.sh
index d509989..aa64b3f 100755
--- a/i3lock.sh
+++ b/i3lock.sh
@@ -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