From b88f9c23976d8ebf421e84856442f48c6d4d5c43 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 12 Apr 2022 12:03:02 +0000 Subject: feat(X11): add conf.d files --- X11/etc/X11/xorg.conf.d/00-keyboard.conf | 7 +++++ X11/etc/X11/xorg.conf.d/20-intel.conf | 5 +++ X11/etc/X11/xorg.conf.d/30-touchpad.conf | 6 ++++ X11/etc/X11/xorg.conf.d/40-libinput.conf | 52 +++++++++++++++++++++++++++++++ X11/etc/X11/xorg.conf.d/70-synaptics.conf | 23 ++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 X11/etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 X11/etc/X11/xorg.conf.d/20-intel.conf create mode 100644 X11/etc/X11/xorg.conf.d/30-touchpad.conf create mode 100644 X11/etc/X11/xorg.conf.d/40-libinput.conf create mode 100644 X11/etc/X11/xorg.conf.d/70-synaptics.conf (limited to 'X11') diff --git a/X11/etc/X11/xorg.conf.d/00-keyboard.conf b/X11/etc/X11/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..c29afd2 --- /dev/null +++ b/X11/etc/X11/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,7 @@ +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "us,ru" + Option "XkbOptions" "caps:swapescape,grp:win_space_toggle" +EndSection + diff --git a/X11/etc/X11/xorg.conf.d/20-intel.conf b/X11/etc/X11/xorg.conf.d/20-intel.conf new file mode 100644 index 0000000..36f6eb5 --- /dev/null +++ b/X11/etc/X11/xorg.conf.d/20-intel.conf @@ -0,0 +1,5 @@ +Section "Device" + Identifier "Intel Graphics" + Driver "intel" + Option "Backlight" "intel_backlight" +EndSection diff --git a/X11/etc/X11/xorg.conf.d/30-touchpad.conf b/X11/etc/X11/xorg.conf.d/30-touchpad.conf new file mode 100644 index 0000000..6116aa6 --- /dev/null +++ b/X11/etc/X11/xorg.conf.d/30-touchpad.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "devname" + Driver "libinput" + Option "Tapping" "on" + Option "NaturalScrolling" "true" +EndSection diff --git a/X11/etc/X11/xorg.conf.d/40-libinput.conf b/X11/etc/X11/xorg.conf.d/40-libinput.conf new file mode 100644 index 0000000..eb33ad0 --- /dev/null +++ b/X11/etc/X11/xorg.conf.d/40-libinput.conf @@ -0,0 +1,52 @@ +# Match on all types of devices but joysticks +# +# If you want to configure your devices, do not copy this file. +# Instead, use a config snippet that contains something like this: +# +# Section "InputClass" +# Identifier "something or other" +# MatchDriver "libinput" +# +# MatchIsTouchpad "on" +# ... other Match directives ... +# Option "someoption" "value" +# EndSection +# +# This applies the option any libinput device also matched by the other +# directives. See the xorg.conf(5) man page for more info on +# matching devices. + +Section "InputClass" + Identifier "libinput pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection diff --git a/X11/etc/X11/xorg.conf.d/70-synaptics.conf b/X11/etc/X11/xorg.conf.d/70-synaptics.conf new file mode 100644 index 0000000..79808ae --- /dev/null +++ b/X11/etc/X11/xorg.conf.d/70-synaptics.conf @@ -0,0 +1,23 @@ +Section "InputClass" + Identifier "touchpad catchall" + Driver "synaptics" + MatchIsTouchpad "on" + Option "NaturalScrolling" "on" + Option "TapButton1" "1" + Option "TapButton2" "3" + Option "TapButton3" "2" + Option "VertEdgeScroll" "on" + Option "VertTwoFingerScroll" "on" + Option "HorizEdgeScroll" "on" + Option "HorizTwoFingerScroll" "on" + Option "CircularScrolling" "on" + Option "CircScrollTrigger" "2" + Option "EmulateTwoFingerMinZ" "40" + Option "EmulateTwoFingerMinW" "8" + Option "CoastingSpeed" "0" + Option "FingerLow" "30" + Option "FingerHigh" "50" + Option "MaxTapTime" "125" + Option "VertScrollDelta" "-50" + Option "HorizScrollDelta" "-50" +EndSection -- cgit v1.2.3