aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-15 18:50:12 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-15 18:50:12 +1300
commit1a0ac5be601f00e828dba181a7c90c2b29735b77 (patch)
tree52360b4ba5bf994a65b869c9ba13fedd2e82b1ee /X
parentAdd command guards around .xinitrc.d subscripts (diff)
downloaddotfiles-1a0ac5be601f00e828dba181a7c90c2b29735b77.tar.gz
dotfiles-1a0ac5be601f00e828dba181a7c90c2b29735b77.zip
Remove xrbg(1)
Overkill given feh(1) has a --randomize
Diffstat (limited to 'X')
-rw-r--r--X/xinitrc.d/xbackground.sh3
-rw-r--r--X/xinitrc.d/xrbg.sh2
2 files changed, 3 insertions, 2 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}"
diff --git a/X/xinitrc.d/xrbg.sh b/X/xinitrc.d/xrbg.sh
deleted file mode 100644
index 0e4ec278..00000000
--- a/X/xinitrc.d/xrbg.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-# Apply a random background image
-xrbg