mirror of
https://github.com/chenasraf/BitDay-Linux.git
synced 2026-05-17 17:58:04 +00:00
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:
@@ -45,12 +45,12 @@ fi
|
|||||||
|
|
||||||
for i in ${!timing[@]}; do # Loop through the wallpapers
|
for i in ${!timing[@]}; do # Loop through the wallpapers
|
||||||
if [ ${timing[$i]} -gt $hour ]; then
|
if [ ${timing[$i]} -gt $hour ]; then
|
||||||
$setcmd $DIR/${files[i-1]}
|
$setcmd$DIR/${files[i-1]}
|
||||||
echo "Wallpaper set to ${files[i-1]}"
|
echo "Wallpaper set to ${files[i-1]}"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Fallback at last wallpaper if time is not relevant
|
# Fallback at last wallpaper if time is not relevant
|
||||||
$setcmd $DIR/${files[7]}
|
$setcmd$DIR/${files[7]}
|
||||||
echo "Wallpaper set to ${files[7]}"
|
echo "Wallpaper set to ${files[7]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user