'effects/Gotham.sh' ändern

This commit is contained in:
Mike Powell 2018-08-09 07:56:08 +02:00
parent 3eda39a3d7
commit 6c4b39452d

View file

@ -1,2 +1,2 @@
#!/bin/bash
convert /home/pi/cam.jpg -modulate 120,10,100 -fill '#222b6d' -colorize 20 -gamma 0.5 /home/pi/DCIM/$(stat DCIM/* --printf "%i\n" | wc -l).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+1 | bc).jpg