aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--alias1
-rw-r--r--misc/keyboard5
-rw-r--r--misc/libinput/00-keyboard.conf9
-rw-r--r--misc/libinput/30-touchpad.conf7
5 files changed, 20 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5acc0c5..d60b95a 100644
--- a/Makefile
+++ b/Makefile
@@ -46,3 +46,6 @@ wiki:
46 46
47crontab: 47crontab:
48 (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - 48 (crontab -l 2>/dev/null; cat tools/*.cron) | crontab -
49
50libinput:
51 sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/
diff --git a/alias b/alias
index e760626..d3d97fa 100644
--- a/alias
+++ b/alias
@@ -67,6 +67,7 @@ alias ni='sudo npm install -g' # nodejs install
67 67
68# pacman 68# pacman
69alias pac='sudo pacman -S' # pacman install 69alias pac='sudo pacman -S' # pacman install
70alias psy='sudo pacman -Syy'
70alias ys='yay -S' 71alias ys='yay -S'
71alias pqs='pacman -Qs' 72alias pqs='pacman -Qs'
72alias pqi='pacman -Qi' 73alias pqi='pacman -Qi'
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