X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.xlaunch.d%2Fbackground;h=a02d34cc491abe659b611187bc85490cf313f9b6;hb=fdc8785261d04be8df8158cf1eef192bf2d000e7;hp=ab4c30135ac380ebc560681cc775252e1a7ffe8d;hpb=101c2c385239d4de389357403085627e06fa7850;p=khome.git diff --git a/home/.xlaunch.d/background b/home/.xlaunch.d/background index ab4c301..a02d34c 100755 --- a/home/.xlaunch.d/background +++ b/home/.xlaunch.d/background @@ -3,8 +3,12 @@ set -e BG_COLOR='#b2b2a0' -BG_IMAGE=$(< "$FILE_WALLPAPER_CURR") #xsetroot -solid "$BG_COLOR" hsetroot -solid "$BG_COLOR" # Because xsetroot is incompatible with compton. -feh --bg-scale "$BG_IMAGE" + +if test -f "$FILE_WALLPAPER_CURR" +then + bg_image=$(< "$FILE_WALLPAPER_CURR") + feh --bg-scale "$bg_image" +fi