aboutsummaryrefslogtreecommitdiff
path: root/X
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-15 14:16:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-15 14:18:17 +1300
commitbacd9bc82bfd0b12752dddcf43c6def31a570bab (patch)
tree3e934a88b64ceceb414f051e57378753bc4b23d5 /X
parente0fa08ffae400947de5df95991059b328ccef0f7 (diff)
downloaddotfiles-bacd9bc82bfd0b12752dddcf43c6def31a570bab.tar.gz
dotfiles-bacd9bc82bfd0b12752dddcf43c6def31a570bab.zip
Restore xrbg(1df)
I switched to an xrandr(1)-based layout and feh(1)'s --randomize option applies a random background to each screen. I can't see a way of applying the same background to each screen, but xrbg(1df) does it, so I've restored it here. This reverts commit 1a0ac5be601f00e828dba181a7c90c2b29735b77.
Diffstat (limited to 'X')
-rw-r--r--X/xinitrc.d/xbackground.sh3
-rw-r--r--X/xinitrc.d/xrbg.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/X/xinitrc.d/xbackground.sh b/X/xinitrc.d/xbackground.sh
deleted file mode 100644
index 7f2bc8c3..00000000
--- a/X/xinitrc.d/xbackground.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-# 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
new file mode 100644
index 00000000..0e4ec278
--- /dev/null
+++ b/X/xinitrc.d/xrbg.sh
@@ -0,0 +1,2 @@
+# Apply a random background image
+xrbg