diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | alias | 1 | ||||
-rw-r--r-- | misc/keyboard | 5 | ||||
-rw-r--r-- | misc/libinput/00-keyboard.conf | 9 | ||||
-rw-r--r-- | misc/libinput/30-touchpad.conf | 7 |
5 files changed, 20 insertions, 5 deletions
@@ -46,3 +46,6 @@ wiki: | |||
46 | 46 | ||
47 | crontab: | 47 | crontab: |
48 | (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - | 48 | (crontab -l 2>/dev/null; cat tools/*.cron) | crontab - |
49 | |||
50 | libinput: | ||
51 | sudo ln -sf `pwd`/misc/libinput/* /etc/X11/xorg.conf.d/ | ||
@@ -67,6 +67,7 @@ alias ni='sudo npm install -g' # nodejs install | |||
67 | 67 | ||
68 | # pacman | 68 | # pacman |
69 | alias pac='sudo pacman -S' # pacman install | 69 | alias pac='sudo pacman -S' # pacman install |
70 | alias psy='sudo pacman -Syy' | ||
70 | alias ys='yay -S' | 71 | alias ys='yay -S' |
71 | alias pqs='pacman -Qs' | 72 | alias pqs='pacman -Qs' |
72 | alias pqi='pacman -Qi' | 73 | alias 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 @@ | |||
1 | XKBLAYOUT="us" | ||
2 | BACKSPACE="guess" | ||
3 | XKBMODEL="pc105" | ||
4 | XKBVARIANT="" | ||
5 | XKBOPTIONS="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. | ||
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 | ||