From b7da7f8ceeef260ce8cb8f789a324ea6ef5da832 Mon Sep 17 00:00:00 2001 From: pacien Date: Wed, 26 Jul 2017 19:42:30 +0200 Subject: Handle secondary optimus display --- touchpad.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/touchpad.sh b/touchpad.sh index c05462b..1ef66b9 100755 --- a/touchpad.sh +++ b/touchpad.sh @@ -40,6 +40,7 @@ IFS=' ' for DEVICE in $DEVICES; do - xinput "$ACTION" "$DEVICE" + DISPLAY=:0 xinput "$ACTION" "$DEVICE" + DISPLAY=:8 xinput "$ACTION" "$DEVICE" done -- cgit v1.2.3