diff --git a/functions.sh b/functions.sh index 5f123a2..b4cac61 100644 --- a/functions.sh +++ b/functions.sh @@ -66,7 +66,7 @@ function cacheImages() { # Validate that the images exist, cache them if they do # TODO return here elif [ -e "$imagePath.tmp" ]; then # If temp exists but not the original, move temp back to original # TODO report work - mv "$imagePath.tmp" "$monitor" + mv "$imagePath.tmp" "$imagePath" noctalia msg wallpaper-set "$monitor" "$imagePath.tmp" 1>/dev/null && echo "$monitor walpaper cached" || echo "Warning: not connected to monitor $monitor, wallpaper will not be set." # TODO return here else