From 5734879c4b35306b99f0844f2c0be155ec95cd25 Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Mon, 9 Sep 2024 23:37:38 +0300 Subject: [PATCH] xkb symbols patch for i3 --- X11/20-touchpad.conf | 6 ++++++ X11/xkb-symbols-pc.patch | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 X11/20-touchpad.conf create mode 100644 X11/xkb-symbols-pc.patch diff --git a/X11/20-touchpad.conf b/X11/20-touchpad.conf new file mode 100644 index 0000000..b08526b --- /dev/null +++ b/X11/20-touchpad.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "NaturalScroll" + Driver "libinput" + MatchIsTouchpad "on" + Option "NaturalScrolling" "true" +EndSection diff --git a/X11/xkb-symbols-pc.patch b/X11/xkb-symbols-pc.patch new file mode 100644 index 0000000..183f26b --- /dev/null +++ b/X11/xkb-symbols-pc.patch @@ -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: