|
|
|
@ -148,15 +148,15 @@ fi |
|
|
|
|
# Put path together |
|
|
|
|
if [ -f "$wallpapers_dir/$season/$WEATHER/$IMG_FILE" ]; then |
|
|
|
|
# ./wallpapers/spring/clear/00-filename.png |
|
|
|
|
path="$wallpapers_dir/$season/$WEATHER/$IMG_FILE" |
|
|
|
|
img_path="$wallpapers_dir/$season/$WEATHER/$IMG_FILE" |
|
|
|
|
|
|
|
|
|
elif [ -f "$wallpapers_dir/$season/$IMG_FILE" ]; then |
|
|
|
|
# ./wallpapers/spring/00-filename.png |
|
|
|
|
path="$wallpapers_dir/$season/$IMG_FILE" |
|
|
|
|
img_path="$wallpapers_dir/$season/$IMG_FILE" |
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
# ./wallpapers/00-filename.png |
|
|
|
|
path="$wallpapers_dir/$IMG_FILE" |
|
|
|
|
img_path="$wallpapers_dir/$IMG_FILE" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Check for file |
|
|
|
|