dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit f81afaa8a9b4e4dadf4c5fcc9c8067f4b522aaca (patch)
parent f3be18f715adf7f8037238deb26a0d147151d7b9
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun,  4 Apr 2021 23:07:44 -0400

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.

Diffstat:
M.xinitrc | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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