blob: f457315fc356bfcfba8bb60a6dd04c514e379f38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -eu
# This enables tapping, like tap-to-click, on the Thinkpad T14s Gen2 AMD.
# The touchpad ID changes between reboots sometimes.
#
# We need property 318, "Tapping Enabled".
# Available properties viewable with:
# xinput list-props $TOUCHPAD_ID
#
# Requires:
# xinput, libinput
TOUCHPAD_ID="$(xinput | grep Touchpad | awk '{print $6}' | cut -d'=' -f2)"
/usr/bin/xinput set-prop "$TOUCHPAD_ID" 320 1
|