diff --git a/install.sh b/install.sh index d05a5a4..ee83aa0 100755 --- a/install.sh +++ b/install.sh @@ -214,8 +214,7 @@ if [ "$wayland_or_x11" = "x11" ]; then xauthority=$(/usr/bin/xauth info | grep Authority | awk '{print $3}') xdisplay=$(echo $DISPLAY) - cat asus_touchpad.X11.service | CONFIG_FILE_DIR="$CONFIG_FILE_DIR/" LAYOUT=$model XDISPLAY=$display XAUTHORITY=$xauthority envsubst '$LAYOUT $XAUTHORITY $CONFIG_FILE_DIR' > /etc/systemd/system/asus_touchpad_numpad@.service - + cat asus_touchpad.X11.service | CONFIG_FILE_DIR="$CONFIG_FILE_DIR/" LAYOUT=$model XDISPLAY=$xdisplay XAUTHORITY=$xauthority envsubst '$LAYOUT $XAUTHORITY $XDISPLAY $CONFIG_FILE_DIR' > /etc/systemd/system/asus_touchpad_numpad@.service elif [ "$wayland_or_x11" = "wayland" ]; then echo "Wayland is detected, unfortunatelly you will not be able use feature: `Disabling Touchpad (e.g. Fn+special key) disables NumberPad aswell`, at this moment is supported only X11"