summaryrefslogtreecommitdiff
path: root/scripts/bg.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-06 12:07:49 +0000
committerdavidovski <david@davidovski.xyz>2023-02-06 12:07:49 +0000
commit8c1786d852784591f55d04c29ec036e53bed2900 (patch)
treece42192d9569cc4d20fc84ccf5c0a264009a5516 /scripts/bg.sh
parent886f6d7aad7bb31fdfd5c807710e3887861c91d9 (diff)
Adjust bg script animation speed
Diffstat (limited to 'scripts/bg.sh')
-rwxr-xr-xscripts/bg.sh2
1 files changed, 1 insertions, 1 deletions
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