aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-25 20:54:40 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-25 20:54:40 +0100
commitadf4f47a273c887b7822489c8fba27db3fb4810f (patch)
tree8b4d8a45e21bddd1d684cc3dc50b0036f02e6b8d
parent1db9ab361cfb4b471483c018d5839b3ec8dfbb99 (diff)
downloaddotnvim-adf4f47a273c887b7822489c8fba27db3fb4810f.tar.gz
dotnvim-adf4f47a273c887b7822489c8fba27db3fb4810f.zip
Tweaks for the keyboard layout
-rw-r--r--i3/config7
1 files changed, 7 insertions, 0 deletions
diff --git a/i3/config b/i3/config
index 997159f..0f3e5aa 100644
--- a/i3/config
+++ b/i3/config
@@ -13,6 +13,13 @@ exec --no-startup-id /usr/bin/compton -b
# Keyboard layout.
exec_always --no-startup-id setxkbmap -model pc105 -layout gb -variant extd
+# Right CTL to be mode switch
+exec_always --no-startup-id xmodmap -e "keycode 105 = Mode_switch"
+exec_always --no-startup-id xmodmap -e "keycode 113 = Left NoSymbol Home"
+exec_always --no-startup-id xmodmap -e "keycode 114 = Right NoSymbol End"
+exec_always --no-startup-id xmodmap -e "keycode 111 = Up NoSymbol Prior"
+exec_always --no-startup-id xmodmap -e "keycode 116 = Down NoSymbol Next"
+
# Auto-placement of these.
assign [class="^Navigator.firefox$"] 1
assign [class="^Mail.thunderbird$"] 2