summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/random_wallpaper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/random_wallpaper.sh b/scripts/random_wallpaper.sh
index 58b3039..3d2f803 100755
--- a/scripts/random_wallpaper.sh
+++ b/scripts/random_wallpaper.sh
@@ -14,7 +14,7 @@ else
file = ${FVWM_USERDIR}/images/default_wall.jpg
fi
-convert ${file} -resize `xdpyinfo |grep dimensions|awk '{print $2}'` "${FVWM_USERDIR}/tmp/current_wall.png"
+convert "${file}" -resize `xdpyinfo |grep dimensions|awk '{print $2}'` "${FVWM_USERDIR}/tmp/current_wall.png"
feh --bg-center "${FVWM_USERDIR}/tmp/current_wall.png"
FvwmCommand Refresh