diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-11-19 16:48:42 +0100 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-11-19 16:48:42 +0100 |
commit | 4b9f85b09e293d1de6bb88f4b3575a937ac547d6 (patch) | |
tree | fb5f4ed6f02f00310ed78214ce72b81bf4b9c48d | |
parent | a35bfa789272c342a8aaa76930e69e7ea26f8e47 (diff) |
random_wallpaper: fix files with spaces in name
-rwxr-xr-x | scripts/random_wallpaper.sh | 2 |
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 |