aboutsummaryrefslogtreecommitdiff
path: root/xsession.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'xsession.dot.link')
-rwxr-xr-xxsession.dot.link7
1 files changed, 5 insertions, 2 deletions
diff --git a/xsession.dot.link b/xsession.dot.link
index 6ea47f6..08a21d9 100755
--- a/xsession.dot.link
+++ b/xsession.dot.link
@@ -29,8 +29,11 @@ if [ -e "$HOME/.custom/xsession" ]; then
fi
# Set background
-if [ ! -z "$BACKGROUND" ]; then
- Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND
+if [ "$BACKGROUND" == "all" ]; then
+ feh --bg-scale --randomize $HOME/.config/themes/backgrounds/*
+elif [ ! -z "$BACKGROUND" ]; then
+ #Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND
+ feh --bg-scale $HOME/.config/themes/backgrounds/$BACKGROUND
else
xsetroot -solid black
fi