From c51c75aba1dce187d86969fa500899190bca830f Mon Sep 17 00:00:00 2001 From: Pearu Vaalma Date: Tue, 17 Nov 2020 10:58:57 +0200 Subject: [PATCH] Change touchpad name to case-insensitive --- xinput/touchpad.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xinput/touchpad.sh b/xinput/touchpad.sh index 7a2f1a5..9f0c9eb 100755 --- a/xinput/touchpad.sh +++ b/xinput/touchpad.sh @@ -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`