From 75abc06b6c06137c12c91d13c1413904df654d5c Mon Sep 17 00:00:00 2001 From: arcan1s Date: Mon, 1 Dec 2014 02:33:34 +0300 Subject: [PATCH] update xrandr functions --- zsh/xrandr_t440 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/xrandr_t440 b/zsh/xrandr_t440 index 08ad3de..2a58d37 100644 --- a/zsh/xrandr_t440 +++ b/zsh/xrandr_t440 @@ -22,7 +22,7 @@ projctl() { echo "Using resolution: ${RESOLUTION}" xrandr --output ${FIRSTMON} --mode ${RESOLUTION} --output ${SECONDMON} --mode ${RESOLUTION} fi - xinput set-prop 10 137 $(get-coord-matrix.py) + xinput set-prop "ELAN Touchscreen" 140 $(get-coord-matrix.py) } twinmon() { @@ -46,5 +46,5 @@ twinmon() { echo "Enable ${SECONDMON}" xrandr --output ${FIRSTMON} --auto --primary --output ${SECONDMON} --auto --left-of ${FIRSTMON} fi - xinput set-prop 10 137 $(get-coord-matrix.py) + xinput set-prop "ELAN Touchscreen" 140 $(get-coord-matrix.py) }