summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2017-07-26 19:42:30 +0200
committerpacien2017-07-26 19:42:30 +0200
commitb7da7f8ceeef260ce8cb8f789a324ea6ef5da832 (patch)
tree84e6aae80ef805725f77a3ec61b3137f26dc5447
parent5095cacdaa459df65f41f1c3d03a035aeead35ab (diff)
downloaddesktop-utilities-b7da7f8ceeef260ce8cb8f789a324ea6ef5da832.tar.gz
Handle secondary optimus display
-rwxr-xr-xtouchpad.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/touchpad.sh b/touchpad.sh
index c05462b..1ef66b9 100755
--- a/touchpad.sh
+++ b/touchpad.sh
@@ -40,6 +40,7 @@ IFS='
40' 40'
41 41
42for DEVICE in $DEVICES; do 42for DEVICE in $DEVICES; do
43 xinput "$ACTION" "$DEVICE" 43 DISPLAY=:0 xinput "$ACTION" "$DEVICE"
44 DISPLAY=:8 xinput "$ACTION" "$DEVICE"
44done 45done
45 46