all repos — fluxbox @ ae2d4b6b53757597f96d34f0266de8d5ec190f94

custom fork of the fluxbox windowmanager

Don't complain on '-z' if there's no lastwallpaper

This hides the odd cornercase of users with no lastwallpaper file and no
background set in their style or overlay.

Adapted from the patch at
http://sourceforge.net/tracker/?func=detail&aid=2389567&group_id=35398&atid=413962
Jim Ramsay i.am@jimramsay.com
commit

ae2d4b6b53757597f96d34f0266de8d5ec190f94

parent

edffe9c93f051e863f9fb9c768a837534c2e567f

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M util/fbsetbgutil/fbsetbg

@@ -308,6 +308,7 @@ if [ "$style" != "style" -a -n "$wallpaper" ]; then

remember=false break fi + ignore_missing_wallpaper=true style="style" shift ;; -Z)

@@ -521,6 +522,9 @@ fi

if [ ! -r "$wallpaper" ]; then + if [ "$ignore_missing_wallpaper" == "true" ]; then + exit 0 + fi message "Can't find wallpaper $wallpaper" exit 1 fi