New script to swap mouse buttons of second mouse in X11.

This commit is contained in:
Markus Birth 2017-02-06 22:06:15 +01:00
parent d93201f105
commit fd6334da27

4
mouse2-swap.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Primary mouse (right): 13, secondary (left): 10
/usr/bin/xinput set-button-map 10 3 2 1 4 5 6 7 8 9 10 11 12 13