Fix for bug introduced in 9950fc3

Commit 9950fc3 introduced an extra space between the `file://` prefix and the files. This commit fixes that.
This commit is contained in:
nariox
2017-07-20 12:53:31 -04:00
committed by GitHub
parent 2b791d3268
commit d016af5759

View File

@@ -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]}"