From 8c1786d852784591f55d04c29ec036e53bed2900 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 6 Feb 2023 12:07:49 +0000 Subject: Adjust bg script animation speed --- scripts/bg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/bg.sh') diff --git a/scripts/bg.sh b/scripts/bg.sh index 72c612c..34a1196 100755 --- a/scripts/bg.sh +++ b/scripts/bg.sh @@ -12,7 +12,7 @@ convert -coalesce $image $dir/%05d.png printf "done\n" amount_of_frames=$(ls -1 "$dir" | wc -l) -frames_per_second=30 +frames_per_second=10 speed=$(echo "scale=3; ($amount_of_frames/$frames_per_second) * (1/$frames_per_second)" | bc -l) while : ; do -- cgit v1.2.1