From f9d4f6266d047a13dfbbd8ff1df7f74c4241fe01 Mon Sep 17 00:00:00 2001 From: "Archie Hilton (thytom)" Date: Thu, 17 Oct 2019 00:04:01 +0100 Subject: Fixed issue where script would crash without a framerate input. --- smart-wallpaper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-wallpaper b/smart-wallpaper index 2089958..0ddc2cc 100755 --- a/smart-wallpaper +++ b/smart-wallpaper @@ -163,7 +163,7 @@ if [ "$randomize" == false ]; then nighttimewallpaper=$(find $input_nighttimewallpaper -type f | shuf -n 1) fi -if [[ -z $framerate ]]; then +if [[ ! $framerate = '' ]]; then delay_flag="--delay $(expr 100 / $framerate)" fi -- cgit 1.4.1