diff --git a/effects/Gotham.sh b/effects/Gotham.sh index 184c783..92cb731 100755 --- a/effects/Gotham.sh +++ b/effects/Gotham.sh @@ -1,2 +1,3 @@ #!/bin/bash -convert /home/pi/cam.jpg -modulate 120,10,100 -fill '#222b6d' -colorize 20 -gamma 0.5 /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg +convert /home/pi/cam.jpg -modulate 120,10,100 -fill '#222b6d' -colorize 20 -gamma 0.5 /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x | awk '{printf $1 + 1}').jpg +