summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2024-02-02 15:08:23 -0700
committerJosh Rahm <rahm@google.com>2024-02-02 15:08:42 -0700
commit298703733a21b67f079dc53040ed69d71b025405 (patch)
tree63450c5499754882a5008e3204c4df7a51154bab
parent06f579de7bc18a8eabfc58e1bc479953d6f8586f (diff)
downloadrkb-298703733a21b67f079dc53040ed69d71b025405.tar.gz
rkb-298703733a21b67f079dc53040ed69d71b025405.tar.bz2
rkb-298703733a21b67f079dc53040ed69d71b025405.zip
Remove the Num_Lock key. We do this to have access to mod2 without the stupid Num_Lock key messing it up. Also set right control to mod2.
-rwxr-xr-xsetxkbmap.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/setxkbmap.sh b/setxkbmap.sh
index d512462..1a58693 100755
--- a/setxkbmap.sh
+++ b/setxkbmap.sh
@@ -10,6 +10,13 @@ xmodmap <(echo '
remove mod4 = Hyper_L
add mod3 = Hyper_L
+ # Remove Num_Lock, because Num_Lock is stupid and this allows
+ # us to potentially use mod2 for things!
+ keycode 77 = NoSymbol
+ # keycode 51 = Control_R
+ remove control = Control_R
+ add mod2 = Control_R
+
# keycode 222 = semicolon colon paragraph degree
# keycode 24 = Control_L
# add Control = Control_L