fix: somehow an erranious function name got pasted and it kept the
script from propperly switching the wallpaper on a new run
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ function cacheImages() { # Validate that the images exist, cache them if they do
|
|||||||
# TODO return here
|
# TODO return here
|
||||||
elif [ -e "$imagePath.tmp" ]; then # If temp exists but not the original, move temp back to original
|
elif [ -e "$imagePath.tmp" ]; then # If temp exists but not the original, move temp back to original
|
||||||
# TODO report work
|
# 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."
|
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
|
# TODO return here
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user