From f81afaa8a9b4e4dadf4c5fcc9c8067f4b522aaca Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 4 Apr 2021 23:07:44 -0400 Subject: [PATCH] X11: Set the background to plain black as fallback On new OpenBSD installs, the textured gray really hurts my eyes :) plain black is much easier to handle. --- .xinitrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.xinitrc b/.xinitrc index 65e2f4a..fc95a5f 100755 --- a/.xinitrc +++ b/.xinitrc @@ -2,7 +2,11 @@ setxkbmap -option caps:ctrl_modifier slstatus & -[ -e ~/background.png ] && feh --bg-fill ~/background.png +if [ -e ~/background.png ]; then + feh --bg-fill ~/background.png +else + xsetroot -solid black +fi if [ $(uname) = "OpenBSD" ]; then # On my thinkpad, I seem to need these xinput calls to get -- libgit2 0.28.4