diff options
-rwxr-xr-x | install.sh | 10 | ||||
-rw-r--r-- | local-overrides.quirks | 3 |
2 files changed, 13 insertions, 0 deletions
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" diff --git a/local-overrides.quirks b/local-overrides.quirks new file mode 100644 index 0000000..df7c008 --- /dev/null +++ b/local-overrides.quirks @@ -0,0 +1,3 @@ +[keyd virtual keyboard] +MatchName=keyd virtual keyboard +AttrKeyboardIntegration=internal |