From e7746cc3175434b0e8b3fa4094dc91d106e784ed Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 08:56:23 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +