fixed a little bug in fbsetbg when DISPLAY doesn't have .0 after it
This commit is contained in:
parent
4ac761a36e
commit
48c3af9f9c
2 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue