summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-10-12 13:03:18 -0400
committerGitHub <noreply@github.com>2020-10-12 13:03:18 -0400
commit3557875d125cb30fb66e421d949b6acf86364d5d (patch)
tree8e8f047144cca78c391f46e80dfaab51e2136418
parent1d8b03595abbff088d79c0dc22d3e43b128dcb97 (diff)
parentcd5b32c591e77be59907df3a3a832e4d29ae8d10 (diff)
Merge pull request #290 from kiprasmel/patch-1
fix the "tap-to-click" enabler (40-libinput.conf)
-rw-r--r--larbs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/larbs.sh b/larbs.sh
index f626d86..5b4b718 100644
--- a/larbs.sh
+++ b/larbs.sh
@@ -220,14 +220,14 @@ sudo -u "$name" mkdir -p "/home/$name/.cache/zsh/"
dbus-uuidgen > /var/lib/dbus/machine-id
# Tap to click
-[ ! -f /etc/X11/xorg.conf.d/40-libinput.conf ] && echo "Section "InputClass"
+[ ! -f /etc/X11/xorg.conf.d/40-libinput.conf ] && printf 'Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
# Enable left mouse button by tapping
Option "Tapping" "on"
-EndSection" > /etc/X11/xorg.conf.d/40-libinput.conf
+EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf
# Fix fluidsynth/pulseaudio issue.
grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth ||