Browse code

Add dotfiles

Robert Cranston authored on 12/02/2022 13:25:39
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,15 @@
1
+# `xserver-xorg-input-libinput` (default)
2
+if [ "$(command -v xinput)" ]
3
+then
4
+  for id in $(xinput list --id-only)
5
+  do
6
+    xinput set-prop "$id" 'libinput Tapping Enabled' 1
7
+    xinput set-prop "$id" 'libinput Disable While Typing Enabled' 0
8
+  done 2> '/dev/null'
9
+fi
10
+
11
+# `xserver-xorg-input-synaptics` (legacy)
12
+if [ "$(command -v synclient)" ]
13
+then
14
+  synclient tapbutton1=1
15
+fi