-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimwheelrc
25 lines (22 loc) · 922 Bytes
/
imwheelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/imwheel -kb '4 5'
# See: https://askubuntu.com/questions/1030678/speeding-up-the-mouse-wheel-in-ubuntu-18-04
#
# Note: we restrict to only buttons 4 and 5, we may want to do something
# special with some extra buttons eventually (e.g. Thumb1=8, Thumb2=9),
# but for now we'll keep it simple.
# The final number in the Up/Down lines is speed. 4 is a little too
# fast, so we go with 3, which is a little slower than we'd like.
# Shift is also useful for slowing it down even more.
# Update 2023/1/17: We've had ridiculously fast scrolling in Chrome recently,
# so I'm decreasing it to 2 in an attempt to slow things down.
"^google-chrome$"
None, Up, Button4, 2
None, Down, Button5, 2
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Control_R, Up, Control_R|Button4
Control_R, Down, Control_R|Button5
Shift_L, Up, Button4
Shift_L, Down, Button5
Shift_R, Up, Button4
Shift_R, Down, Button5