aboutsummaryrefslogtreecommitdiff
path: root/xsession.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-23 00:54:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-23 00:54:16 -0300
commite45898253ae26ce05e5563aae60ab7e471bd0f51 (patch)
tree755e39c77f74cbc79c3bec8757e766aaf84c98f4 /xsession.dot.link
parent2664660c00bb5f2fce0d1421f263ec9724686c85 (diff)
downloadprofile-e45898253ae26ce05e5563aae60ab7e471bd0f51.tar.gz
profile-e45898253ae26ce05e5563aae60ab7e471bd0f51.tar.bz2
Accept 'unset' background value
Diffstat (limited to 'xsession.dot.link')
-rwxr-xr-xxsession.dot.link4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsession.dot.link b/xsession.dot.link
index 08a21d9..c35afc8 100755
--- a/xsession.dot.link
+++ b/xsession.dot.link
@@ -31,10 +31,10 @@ fi
# Set background
if [ "$BACKGROUND" == "all" ]; then
feh --bg-scale --randomize $HOME/.config/themes/backgrounds/*
-elif [ ! -z "$BACKGROUND" ]; then
+elif [ ! -z "$BACKGROUND" ] && [ "$BACKGROUND" != "unset" ]; then
#Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND
feh --bg-scale $HOME/.config/themes/backgrounds/$BACKGROUND
-else
+elif [ "$BACKGROUND" != "unset" ]; then
xsetroot -solid black
fi