diff options
author | mathias <mathias> | 2006-01-23 22:52:56 (GMT) |
---|---|---|
committer | mathias <mathias> | 2006-01-23 22:52:56 (GMT) |
commit | c3e6efb4e2866f11254f968e17941b7254df692f (patch) | |
tree | ae452896cc9b7a0f2f869a082df4a99adc9f5a65 | |
parent | b429656122da7a3f75bfb6a30ff5086506982ddc (diff) | |
download | fluxbox-c3e6efb4e2866f11254f968e17941b7254df692f.zip fluxbox-c3e6efb4e2866f11254f968e17941b7254df692f.tar.bz2 |
little fix for fbsetbg (patch from mark tiefenbruck)
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | util/fbsetbg | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -1,5 +1,7 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.15: | 2 | Changes for 0.9.15: |
3 | *06/01/23: | ||
4 | * minor fix for fbsetbg (thanx Mark Tiefenbruck) | ||
3 | *06/01/16: | 5 | *06/01/16: |
4 | * minor changes to fix some warnings (Thanks php-coder) | 6 | * minor changes to fix some warnings (Thanks php-coder) |
5 | Screen.cc Window.cc MenuCreator.cc MenuTheme.hh | 7 | Screen.cc Window.cc MenuCreator.cc MenuTheme.hh |
diff --git a/util/fbsetbg b/util/fbsetbg index 8f77f52..5e58e19 100644 --- a/util/fbsetbg +++ b/util/fbsetbg | |||
@@ -288,6 +288,10 @@ while [ $# -gt 0 ]; do | |||
288 | option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1` | 288 | option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1` |
289 | wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` | 289 | wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` |
290 | if [ -z "$wallpaper" ]; then | 290 | if [ -z "$wallpaper" ]; then |
291 | option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` | ||
292 | wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` | ||
293 | fi | ||
294 | if [ -z "$wallpaper" ]; then | ||
291 | message "No previous wallpaper recorded for display ${DISPLAY}" | 295 | message "No previous wallpaper recorded for display ${DISPLAY}" |
292 | exit 1 | 296 | exit 1 |
293 | fi | 297 | fi |