From d016af5759c417fc07286df049f9722914e58bce Mon Sep 17 00:00:00 2001 From: nariox Date: Thu, 20 Jul 2017 12:53:31 -0400 Subject: [PATCH] Fix for bug introduced in 9950fc3 Commit 9950fc3 introduced an extra space between the `file://` prefix and the files. This commit fixes that. --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 86cf171..e43592d 100755 --- a/update.sh +++ b/update.sh @@ -45,12 +45,12 @@ fi for i in ${!timing[@]}; do # Loop through the wallpapers if [ ${timing[$i]} -gt $hour ]; then - $setcmd $DIR/${files[i-1]} + $setcmd$DIR/${files[i-1]} echo "Wallpaper set to ${files[i-1]}" exit fi done # Fallback at last wallpaper if time is not relevant -$setcmd $DIR/${files[7]} +$setcmd$DIR/${files[7]} echo "Wallpaper set to ${files[7]}"