diff options
| author | MineralwaterXu <[email protected]> | 2021-03-01 23:13:10 +0800 |
|---|---|---|
| committer | MineralwaterXu <[email protected]> | 2021-03-01 23:13:10 +0800 |
| commit | 792f31377746455eb6db06c1e48406d5fecb6eb4 (patch) | |
| tree | 9dd08b96590b22193d862bc5691a1ccc566759a3 | |
| parent | 8347025d75ec2c30dd6206df231dfe6bf292ec63 (diff) | |
change the buttons mapping for Logitech MX Anywhere 2S
| -rwxr-xr-x | setxmodmap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setxmodmap.sh b/setxmodmap.sh index d8359d1..d05e6ea 100755 --- a/setxmodmap.sh +++ b/setxmodmap.sh @@ -2,5 +2,5 @@ setxkbmap us -option -option caps:swapescape for id in $(xinput list | grep 'Logitech MX Anywhere 2S' | grep pointer | cut -d '=' -f 2 | cut -f 1); - do xinput --set-button-map $id 1 2 3 4 5 2 2 7 8 9 10 11 12 13 14 15 16 17 18 19 20; + do xinput --set-button-map $id 1 2 3 4 5 2 2 8 9 10 11 12 13 14 15 16 17 18 19 20; done |
