summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-06 20:23:45 -0500
committerJune McEnroe <june@causal.agency>2021-02-06 20:23:45 -0500
commit2865d6fccb2036150bb36eed1a4b8e6d70889e7a (patch)
treee46b9ab2325a5f3c1fa3b7379682ddb243ad1585
parentAdd xterm output to scheme (diff)
downloadsrc-2865d6fccb2036150bb36eed1a4b8e6d70889e7a.tar.gz
src-2865d6fccb2036150bb36eed1a4b8e6d70889e7a.zip
Add initial OpenBSD X configuration
cwm still needs a lot more rebinding, and I need to actually look
at its other options. xterm definitely still needs some configuration,
but I at least managed to get it to use a decent looking font. Very
happy that OpenBSD includes Luxi Mono, which is what my usual font,
Go Mono, is based on anyway. Still missing is xmodmap and such.
-rw-r--r--home/.config/X/resources24
-rw-r--r--home/.config/cwm/cwmrc3
-rw-r--r--home/.xsession3
3 files changed, 30 insertions, 0 deletions
diff --git a/home/.config/X/resources b/home/.config/X/resources
new file mode 100644
index 00000000..c481e93d
--- /dev/null
+++ b/home/.config/X/resources
@@ -0,0 +1,24 @@
+Xft.dpi: 144
+XTerm*faceName: Luxi Mono:size=11:antialias=true:hinting=false
+
+XTerm*color0: rgb:16/15/10
+XTerm*color1: rgb:A3/28/10
+XTerm*color2: rgb:72/7A/18
+XTerm*color3: rgb:A3/77/20
+XTerm*color4: rgb:3D/62/66
+XTerm*color5: rgb:7A/49/55
+XTerm*color6: rgb:55/7A/55
+XTerm*color7: rgb:99/8D/6B
+XTerm*color8: rgb:4C/46/35
+XTerm*color9: rgb:CC/32/14
+XTerm*color10: rgb:8E/99/1E
+XTerm*color11: rgb:CC/95/28
+XTerm*color12: rgb:4C/7B/7F
+XTerm*color13: rgb:99/5B/6B
+XTerm*color14: rgb:6B/99/6B
+XTerm*color15: rgb:CC/BC/8E
+XTerm*background: rgb:14/13/0E
+XTerm*foreground: rgb:B7/A9/80
+XTerm*colorBD: rgb:CC/BC/8E
+XTerm*highlightColor: rgb:A3/41/10
+XTerm*cursorColor: rgb:7A/71/55
diff --git a/home/.config/cwm/cwmrc b/home/.config/cwm/cwmrc
new file mode 100644
index 00000000..74bf7165
--- /dev/null
+++ b/home/.config/cwm/cwmrc
@@ -0,0 +1,3 @@
+bind-key 4-n terminal
+bind-key 4-space menu-exec
+bind-key 4-w window-close
diff --git a/home/.xsession b/home/.xsession
new file mode 100644
index 00000000..b43be905
--- /dev/null
+++ b/home/.xsession
@@ -0,0 +1,3 @@
+. ~/.profile
+xrdb -load ~/.config/X/resources
+cwm -c ~/.config/cwm/cwmrc