summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/fbsetbg6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index 64c8728..0f38d4c 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -155,14 +155,14 @@ remembercommand() {
155 grep -vs "|${DISPLAY}$" ${lastwallpaper} > ${lastwallpaper}.tmp 155 grep -vs "|${DISPLAY}$" ${lastwallpaper} > ${lastwallpaper}.tmp
156 mv -f ${lastwallpaper}.tmp ${lastwallpaper} 156 mv -f ${lastwallpaper}.tmp ${lastwallpaper}
157 if [ "$option" = fbsetroot ]; then 157 if [ "$option" = fbsetroot ]; then
158 echo $option'|'$wallpaper'|'$DISPLAY >> $lastwallpaper 158 echo $option"|$wallpaper|"$DISPLAY >> $lastwallpaper
159 return 159 return
160 fi 160 fi
161 # Make dir/../../path/file.jpg work 161 # Make dir/../../path/file.jpg work
162 case $wallpaper in 162 case $wallpaper in
163 # no spaces allowed between the varname and '|' 163 # no spaces allowed between the varname and '|'
164 /*) echo $option $option2'|'$wallpaper'|'$DISPLAY >> $lastwallpaper ;; 164 /*) echo $option $option2"|$wallpaper|"$DISPLAY >> $lastwallpaper ;;
165 *) echo $option $option2'|'$PWD/$wallpaper'|'$DISPLAY >> $lastwallpaper ;; 165 *) echo $option $option2"|$PWD/$wallpaper|"$DISPLAY >> $lastwallpaper ;;
166 esac 166 esac
167} 167}
168 168