diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-15 14:16:01 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-15 14:18:17 +1300 |
commit | bacd9bc82bfd0b12752dddcf43c6def31a570bab (patch) | |
tree | 3e934a88b64ceceb414f051e57378753bc4b23d5 /bin/xrbg | |
parent | Add tab settings to shrc (diff) | |
download | dotfiles-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 'bin/xrbg')
-rwxr-xr-x | bin/xrbg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/xrbg b/bin/xrbg new file mode 100755 index 00000000..801bf078 --- /dev/null +++ b/bin/xrbg @@ -0,0 +1,4 @@ +#!/bin/sh +# Apply a random background image. Requires rndf(1df) and feh(1). +bg=$(rndf "${XBACKGROUNDS:-"$HOME"/.xbackgrounds}") || exit +feh --bg-scale --no-fehbg -- "$bg" |