diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-04-12 12:03:02 +0000 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-04-12 12:03:02 +0000 |
commit | b88f9c23976d8ebf421e84856442f48c6d4d5c43 (patch) | |
tree | acb6ec840425200715ed5a834d3d41dffb4bac1f | |
parent | 9cc631ba124109850ad10cde8f8d3eefbe119526 (diff) | |
download | dotfiles-b88f9c23976d8ebf421e84856442f48c6d4d5c43.tar.gz |
feat(X11): add conf.d files
-rw-r--r-- | X11/etc/X11/xorg.conf.d/00-keyboard.conf | 7 | ||||
-rw-r--r-- | X11/etc/X11/xorg.conf.d/20-intel.conf | 5 | ||||
-rw-r--r-- | X11/etc/X11/xorg.conf.d/30-touchpad.conf | 6 | ||||
-rw-r--r-- | X11/etc/X11/xorg.conf.d/40-libinput.conf | 52 | ||||
-rw-r--r-- | X11/etc/X11/xorg.conf.d/70-synaptics.conf | 23 |
5 files changed, 93 insertions, 0 deletions
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 |