diff options
author | pacien | 2017-07-26 19:42:30 +0200 |
---|---|---|
committer | pacien | 2017-07-26 19:42:30 +0200 |
commit | b7da7f8ceeef260ce8cb8f789a324ea6ef5da832 (patch) | |
tree | 84e6aae80ef805725f77a3ec61b3137f26dc5447 | |
parent | 5095cacdaa459df65f41f1c3d03a035aeead35ab (diff) | |
download | desktop-utilities-b7da7f8ceeef260ce8cb8f789a324ea6ef5da832.tar.gz |
Handle secondary optimus display
-rwxr-xr-x | touchpad.sh | 3 |
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 | ||
42 | for DEVICE in $DEVICES; do | 42 | for DEVICE in $DEVICES; do |
43 | xinput "$ACTION" "$DEVICE" | 43 | DISPLAY=:0 xinput "$ACTION" "$DEVICE" |
44 | DISPLAY=:8 xinput "$ACTION" "$DEVICE" | ||
44 | done | 45 | done |
45 | 46 | ||