summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-09-26 11:53:38 -0400
committerJune McEnroe <june@causal.agency>2022-09-26 11:56:01 -0400
commitdaea252db046c483faf5d1c9f6aa3215c46ad4a0 (patch)
tree367e4cfb235877a0ba42aaaf6aee41bcd4ade131
parentAdd Take Me There (diff)
downloadsrc-daea252db046c483faf5d1c9f6aa3215c46ad4a0.tar.gz
src-daea252db046c483faf5d1c9f6aa3215c46ad4a0.zip
Set wallpaper to a random colour escher knot
-rw-r--r--home/.xsession7
1 files changed, 5 insertions, 2 deletions
diff --git a/home/.xsession b/home/.xsession
index a51d52f2..1e05126c 100644
--- a/home/.xsession
+++ b/home/.xsession
@@ -4,8 +4,11 @@ export LC_CTYPE=en_US.UTF-8
 xset r rate 175 m 5/4 0
 xmodmap ~/.config/X/modmap
 xrdb -load ~/.config/X/resources
-xsetroot -bitmap /usr/X11R6/include/X11/bitmaps/xsnow \
-	-bg rgb:14/13/0E -fg rgb:7A/49/55 
+
+fg=998D6B
+command -v scheme && fg=$(scheme -p $(jot -r 1 1 8))
+xsetroot -bitmap /usr/X11R6/include/X11/bitmaps/escherknot \
+	-bg '#14130E' -fg "#${fg}"
 
 xterm -name clock -geometry 14x1-0+0 -sl 0 -e clock &
 exec cwm -c ~/.config/cwm/cwmrc