Skip to content

Commit

Permalink
Merge pull request #126 from Tahinli/master
Browse files Browse the repository at this point in the history
  • Loading branch information
ldrahnik authored Jun 29, 2023
2 parents dc07e87 + 1a2fd75 commit 796b37a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

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/[email protected]
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"

Expand Down

0 comments on commit 796b37a

Please sign in to comment.