summary refs log tree commit diff
path: root/home
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
commitd310ac3ddb92c5fe18fc54bcbc66b0e0129f6bec (patch)
tree17e2ed81a3d4e4b91e40425fd3d2f15da84da52c /home
parentAdd initial OpenBSD X configuration (diff)
downloadsrc-d310ac3ddb92c5fe18fc54bcbc66b0e0129f6bec.tar.gz
src-d310ac3ddb92c5fe18fc54bcbc66b0e0129f6bec.zip
Add xmodmap configuration
Diffstat (limited to 'home')
-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