aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-09-12 11:47:26 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-09-12 12:09:34 +0800
commitfc1625c83ac1a3676cf5a29bd12ac4b01324b395 (patch)
tree0d5cc188b3f720011024acd2ac6aaf37b20fdc17 /misc
parent89354e00b4242a55e7f0285a7e4e9c277e9fc5ca (diff)
Add settings for libinput
Diffstat (limited to 'misc')
-rw-r--r--misc/keyboard5
-rw-r--r--misc/libinput/00-keyboard.conf9
-rw-r--r--misc/libinput/30-touchpad.conf7
3 files changed, 16 insertions, 5 deletions
diff --git a/misc/keyboard b/misc/keyboard
deleted file mode 100644
index 604dbd2..0000000
--- a/misc/keyboard
+++ /dev/null
@@ -1,5 +0,0 @@
1XKBLAYOUT="us"
2BACKSPACE="guess"
3XKBMODEL="pc105"
4XKBVARIANT=""
5XKBOPTIONS="ctrl:nocaps"
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.
4Section "InputClass"
5 Identifier "system-keyboard"
6 MatchIsKeyboard "on"
7 Option "XkbLayout" "us"
8 Option "XkbOptions" "ctrl:nocaps"
9EndSection
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
2Section "InputClass"
3 Identifier "touchpad"
4 Driver "libinput"
5 Option "Tapping" "on"
6 Option "NaturalScrolling" "on"
7EndSection