Browse Source

Change touchpad name to case-insensitive

umatrix-rules
Pearu Vaalma 4 years ago
parent
commit
c51c75aba1
  1. 2
      xinput/touchpad.sh

2
xinput/touchpad.sh

@ -2,5 +2,5 @@ @@ -2,5 +2,5 @@
# Disable touchpad
xinput --disable `xinput list | awk '/TouchPad/ {print $6}' | tr 'id=' ' ' | xargs`
xinput --disable `xinput list | awk 'BEGIN{IGNORECASE=1} /TouchPad/ {print $6}' | tr 'id=' ' ' | xargs`

Loading…
Cancel
Save