aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-03-30 11:19:31 -0400
committerRyan Kavanagh <rak@debian.org>2018-03-30 11:19:31 -0400
commit1b8c13b86a6561da812875b6d82ea30760c4389f (patch)
treec883288d7b7f3f05ef5bb06cccb99d776635d0b8
parentMake mplayer default player for mpeg attachments (diff)
Cope with xinput upgrade
-rwxr-xr-x.xinitrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.xinitrc b/.xinitrc
index d7cdb8f..27f9fae 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -30,7 +30,7 @@ synclient TapButton3=2 || true
synclient CoastingSpeed=5
synclient CoastingFriction=30
-trackball=$(xinput | grep "Kensington Expert Wireless TB" | sed -e 's/.*id=//g;s/ .*//g')
+trackball=$(xinput | grep "Kensington Expert Wireless TB" | grep pointer | sed -e 's/.*id=//g;s/\s\+.*//g')
if [ "x${trackball}" != "x" ]; then
xinput set-button-map "${trackball}" 1 2 8 4 5 6 7 3 9 10 11 12 13 14 15 16
xinput set-prop "${trackball}" "libinput Accel Speed" 0.25