mirror of https://github.com/captn3m0/Scripts.git
Got a brand new mouse. scroll works!
This commit is contained in:
parent
0929038165
commit
de0db8c770
6
xsetup
6
xsetup
|
@ -9,9 +9,3 @@ synclient VertEdgeScroll=1
|
|||
synclient VertTwoFingerScroll=1
|
||||
# Disables the capslock key
|
||||
setxkbmap -option caps:none
|
||||
# This disables the faulty mouse wheel scroll on my usb mouse
|
||||
MOUSE_ID=`xinput list |grep Logitech|egrep "[0-9]{2}" -o`
|
||||
if [[ $MOUSE_ID ]]; then
|
||||
echo "Logitech Mouse connected. Disabling Scroll"
|
||||
xinput set-button-map $MOUSE_ID 1 2 3 0 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue