From 1db91cfcf139a0e99a0dcd6c521ddda58b58132d Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Fri, 6 Oct 2023 21:13:02 -0400 Subject: Install libinput config for keyd virtual keyboard Allows Disabled While Typing feature of touchpad to work --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index d26274f..ca2160a 100755 --- a/install.sh +++ b/install.sh @@ -3,6 +3,8 @@ #alpine arch and suse have packages #need to build on fedora and deb* +ROOT=$(pwd) + if [ -f /usr/bin/apt ]; then distro="deb" elif [ -f /usr/bin/zypper ]; then @@ -74,4 +76,12 @@ case $distro in ;; esac +echo "Installing libinput configuration" +sudo mkdir -p /etc/libinput +if [ -f /etc/libinput/local-overrides.quirks ]; then + cat $ROOT/local-overrides.quirks >> /etc/libinput/local-overrides.quirks +else + cp $ROOT/local-overrides.quirks /etc/libinput/local-overrides.quirks +fi + echo "Done" -- cgit 1.4.1-2-gfad0