diff --git a/ChangeLog b/ChangeLog index f5154540..9bb4bcf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 1.0rc3: *07/03/24: + * Fixed a little bug in fbsetbg (Mark) + util/fbsetbg * Workspace Menu wasn't updating when windows changed titles (Mark) Workspace.cc *07/03/21: diff --git a/util/fbsetbg b/util/fbsetbg index 60118e54..718b19ef 100644 --- a/util/fbsetbg +++ b/util/fbsetbg @@ -298,6 +298,8 @@ while [ $# -gt 0 ]; do wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` if [ -z "$wallpaper" ]; then option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` + option2=`echo $option|cut -d' ' -f2` + option=`echo $option|cut -d' ' -f1` wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` fi if [ -z "$wallpaper" ]; then