xkb symbols patch for i3

This commit is contained in:
mykola2312 2024-09-09 23:37:38 +03:00
parent 312b04e3bd
commit 5734879c4b
2 changed files with 17 additions and 0 deletions

6
X11/20-touchpad.conf Normal file
View file

@ -0,0 +1,6 @@
Section "InputClass"
Identifier "NaturalScroll"
Driver "libinput"
MatchIsTouchpad "on"
Option "NaturalScrolling" "true"
EndSection

11
X11/xkb-symbols-pc.patch Normal file
View file

@ -0,0 +1,11 @@
--- /usr/local/share/X11/xkb/symbols/pc.orig 2024-09-09 23:06:49.185779000 +0300
+++ /usr/local/share/X11/xkb/symbols/pc 2024-09-09 23:35:56.994898000 +0300
@@ -31,6 +31,8 @@
modifier_map Control { Control_L, Control_R };
modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
modifier_map Mod2 { Num_Lock };
+ // Right Control as i3wm super key
+ modifier_map Mod3 { Control_R };
modifier_map Mod4 { Super_L, Super_R };
// Six fake keys for virtual<->real modifiers mapping: