X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2F.xlaunch.d%2Fbackground;h=a02d34cc491abe659b611187bc85490cf313f9b6;hb=b1f2fbf1dc35cd7bd6193ce0e098780cb63ca02f;hp=ab4c30135ac380ebc560681cc775252e1a7ffe8d;hpb=787359d155fac85f01b431f074bf4d83a4c177cb;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