aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-05-09 11:30:14 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-05-09 11:30:14 +0200
commit95ae8caba4648290ec81058aed4104082421cdb5 (patch)
tree90f370c992d039d8f48378dd4e85ef9599039558
parent6fff963d82c642451a4adefe29f91eb48a2c58ce (diff)
downloadscripts-95ae8caba4648290ec81058aed4104082421cdb5.tar.gz
scripts-95ae8caba4648290ec81058aed4104082421cdb5.zip
Changed lock effect.
-rwxr-xr-xi3lock.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/i3lock.sh b/i3lock.sh
index 2eed74c..b35f5b0 100755
--- a/i3lock.sh
+++ b/i3lock.sh
@@ -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