From 71ca28742ac4f93ab2401eaee8e78471c023cd4b Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 7 Nov 2024 11:32:27 +0800 Subject: Update --- X11/libinput/00-keyboard.conf | 9 +++++++++ X11/libinput/09-custom-kbd.conf | 6 ++++++ X11/libinput/30-touchpad.conf | 7 +++++++ 3 files changed, 22 insertions(+) create mode 100644 X11/libinput/00-keyboard.conf create mode 100644 X11/libinput/09-custom-kbd.conf create mode 100644 X11/libinput/30-touchpad.conf (limited to 'X11/libinput') diff --git a/X11/libinput/00-keyboard.conf b/X11/libinput/00-keyboard.conf new file mode 100644 index 0000000..4aa4ac7 --- /dev/null +++ b/X11/libinput/00-keyboard.conf @@ -0,0 +1,9 @@ +# Written by systemd-localed(8), read by systemd-localed and Xorg. It's +# probably wise not to edit this file manually. Use localectl(1) to +# instruct systemd-localed to update it. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "us" + Option "XkbOptions" "ctrl:nocaps" +EndSection diff --git a/X11/libinput/09-custom-kbd.conf b/X11/libinput/09-custom-kbd.conf new file mode 100644 index 0000000..f2123ff --- /dev/null +++ b/X11/libinput/09-custom-kbd.conf @@ -0,0 +1,6 @@ +Section "InputClass" + Identifier "keyboard defaults" + MatchIsKeyboard "on" + + Option "XKbOptions" "ctrl:nocaps" +EndSection diff --git a/X11/libinput/30-touchpad.conf b/X11/libinput/30-touchpad.conf new file mode 100644 index 0000000..b5d4424 --- /dev/null +++ b/X11/libinput/30-touchpad.conf @@ -0,0 +1,7 @@ +# check ~/.local/share/xorg/Xorg.0.log for device name +Section "InputClass" + Identifier "touchpad" + Driver "libinput" + Option "Tapping" "on" + Option "NaturalScrolling" "on" +EndSection -- cgit v1.2.3-70-g09d2