summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-06 22:30:10 -0500
committerJune McEnroe <june@causal.agency>2021-02-06 22:30:10 -0500
commitaf835d81e1468573e979ff339fe403eaa14af938 (patch)
treeca10d694c003bee066164fa0a3883234c14a6fa5
parentAdd initial OpenBSD X configuration (diff)
downloadsrc-af835d81e1468573e979ff339fe403eaa14af938.tar.gz
src-af835d81e1468573e979ff339fe403eaa14af938.zip
Add xmodmap configuration
-rw-r--r--home/.config/X/modmap16
-rw-r--r--home/.xsession1
2 files changed, 17 insertions, 0 deletions
diff --git a/home/.config/X/modmap b/home/.config/X/modmap
new file mode 100644
index 00000000..b0b1ea79
--- /dev/null
+++ b/home/.config/X/modmap
@@ -0,0 +1,16 @@
+clear Lock
+keysym Caps_Lock = Escape
+keysym 1 = exclam 1
+keysym 2 = at 2
+keysym 3 = numbersign 3
+keysym 4 = dollar 4
+keysym 5 = percent 5
+keysym 6 = asciicircum 6
+keysym 7 = ampersand 7
+keysym 8 = asterisk 8
+keysym 9 = parenleft 9
+keysym 0 = parenright 0
+keysym minus = underscore minus
+keysym bracketleft = braceleft bracketleft
+keysym bracketright = braceright bracketright
+keysym backslash = bar backslash
diff --git a/home/.xsession b/home/.xsession
index b43be905..a834a150 100644
--- a/home/.xsession
+++ b/home/.xsession
@@ -1,3 +1,4 @@
 . ~/.profile
+xmodmap ~/.config/X/modmap
 xrdb -load ~/.config/X/resources
 cwm -c ~/.config/cwm/cwmrc