summaryrefslogtreecommitdiff
path: root/util/fbsetbg
diff options
context:
space:
mode:
authormarkt <markt>2007-03-24 16:34:32 (GMT)
committermarkt <markt>2007-03-24 16:34:32 (GMT)
commit48c3af9f9c0dd8e9d56c23dc1253f1845144a562 (patch)
tree6d793c9c8b572d459e8f675603ac26885309cda3 /util/fbsetbg
parent4ac761a36e4796a486dc1d6eb939b75a67d184a6 (diff)
downloadfluxbox_lack-48c3af9f9c0dd8e9d56c23dc1253f1845144a562.zip
fluxbox_lack-48c3af9f9c0dd8e9d56c23dc1253f1845144a562.tar.bz2
fixed a little bug in fbsetbg when DISPLAY doesn't have .0 after it
Diffstat (limited to 'util/fbsetbg')
-rw-r--r--util/fbsetbg2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index 60118e5..718b19e 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -298,6 +298,8 @@ while [ $# -gt 0 ]; do
298 wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` 298 wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2`
299 if [ -z "$wallpaper" ]; then 299 if [ -z "$wallpaper" ]; then
300 option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` 300 option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1`
301 option2=`echo $option|cut -d' ' -f2`
302 option=`echo $option|cut -d' ' -f1`
301 wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` 303 wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2`
302 fi 304 fi
303 if [ -z "$wallpaper" ]; then 305 if [ -z "$wallpaper" ]; then