aboutsummaryrefslogtreecommitdiff
path: root/X/xinitrc.d/xbackground.sh
diff options
context:
space:
mode:
Diffstat (limited to 'X/xinitrc.d/xbackground.sh')
-rw-r--r--X/xinitrc.d/xbackground.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/X/xinitrc.d/xbackground.sh b/X/xinitrc.d/xbackground.sh
new file mode 100644
index 00000000..7f2bc8c3
--- /dev/null
+++ b/X/xinitrc.d/xbackground.sh
@@ -0,0 +1,3 @@
+# Apply a random background image
+command -v feh >/dev/null 2>&1 || return
+feh --bg-scale --no-fehbg --randomize -- "${XBACKGROUNDS:-"$HOME"/.xbackgrounds}"