From 6c4b39452dc2226cb21ca3fe8288e3de55466758 Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 07:56:08 +0200 Subject: [PATCH] =?UTF-8?q?'effects/Gotham.sh'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects/Gotham.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/Gotham.sh b/effects/Gotham.sh index 1a405af..184c783 100755 --- a/effects/Gotham.sh +++ b/effects/Gotham.sh @@ -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