diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-12 11:47:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-09-12 12:09:34 +0800 |
commit | fc1625c83ac1a3676cf5a29bd12ac4b01324b395 (patch) | |
tree | 0d5cc188b3f720011024acd2ac6aaf37b20fdc17 /misc/libinput | |
parent | 89354e00b4242a55e7f0285a7e4e9c277e9fc5ca (diff) |
Add settings for libinput
Diffstat (limited to 'misc/libinput')
-rw-r--r-- | misc/libinput/00-keyboard.conf | 9 | ||||
-rw-r--r-- | misc/libinput/30-touchpad.conf | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/misc/libinput/00-keyboard.conf b/misc/libinput/00-keyboard.conf new file mode 100644 index 0000000..4aa4ac7 --- /dev/null +++ b/misc/libinput/00-keyboard.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | # Written by systemd-localed(8), read by systemd-localed and Xorg. It's | ||
2 | # probably wise not to edit this file manually. Use localectl(1) to | ||
3 | # instruct systemd-localed to update it. | ||
4 | Section "InputClass" | ||
5 | Identifier "system-keyboard" | ||
6 | MatchIsKeyboard "on" | ||
7 | Option "XkbLayout" "us" | ||
8 | Option "XkbOptions" "ctrl:nocaps" | ||
9 | EndSection | ||
diff --git a/misc/libinput/30-touchpad.conf b/misc/libinput/30-touchpad.conf new file mode 100644 index 0000000..b5d4424 --- /dev/null +++ b/misc/libinput/30-touchpad.conf | |||
@@ -0,0 +1,7 @@ | |||
1 | # check ~/.local/share/xorg/Xorg.0.log for device name | ||
2 | Section "InputClass" | ||
3 | Identifier "touchpad" | ||
4 | Driver "libinput" | ||
5 | Option "Tapping" "on" | ||
6 | Option "NaturalScrolling" "on" | ||
7 | EndSection | ||