aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-20 00:27:36 +1000
committerYuchen Pei <id@ypei.org>2023-06-20 00:27:36 +1000
commit8e675634696d3447a7cc99baebfb426a79b051ec (patch)
tree5a0648f76c7e3108f880a31c315732e3b3dd83f5 /misc
parent351ce98112731d18d73876acf1050bd8e4f487ee (diff)
adding xmodmap
Diffstat (limited to 'misc')
-rw-r--r--misc/.Xmodmap8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/.Xmodmap b/misc/.Xmodmap
new file mode 100644
index 0000000..46a7f8b
--- /dev/null
+++ b/misc/.Xmodmap
@@ -0,0 +1,8 @@
+! Change capslock to ctrl and shift+capslock to capslock
+clear lock
+clear control
+add control = Caps_Lock Control_L Control_R
+keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol
+keycode 108 = Control_L Control_L Control_L Control_L
+! bind menu key to super key
+keycode 135 = Super_R