summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/remaps
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/remaps')
-rwxr-xr-xscripts/.local/bin/remaps13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/.local/bin/remaps b/scripts/.local/bin/remaps
new file mode 100755
index 0000000..4afa47e
--- /dev/null
+++ b/scripts/.local/bin/remaps
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# This script is called on startup to remap keys.
+
+# Increase key speed via a rate change
+xset r rate 200 75
+
+# Map the menu button to right super as well.
+xmodmap -e 'keycode 135 = Super_R'
+
+# external keyboard Alt_R may be mapped to Multi_Key instead of ISO_Level3_Shift, which breaks French QWERTY layout
+xmodmap -e "keycode 64 = ISO_Level3_Shift"
+xmodmap -e "keycode 108 = ISO_Level3_Shift"