On Sun, Jun 21, 2020, at 21:38, Kai Hendry wrote: > Since the mouse wheel bindings are disabled by default in scroll, what > are the alternative bindings people can suggest? > > https://git.suckless.org/scroll/file/config.def.h.html > > Would be kindof awesome to be able to scroll with a mouse.
I don't quite understand how to answer your question about scroll. But I will tell you what I do to have working wheel scrolling in st: I use st-0.8.2 and patches st-scrollback-0.8.2.diff, st-scrollback-mouse-0.8.2.diff, st-scrollback-mouse-increment-0.8.2.diff. I have configured config.h so that Control+mouse_wheel is slow scrolling and Alt+mouse_wheel is fast scrolling: const unsigned int mousescrollincrement = 40; static MouseShortcut mshortcuts[] = { /* button mask string { Button4, ShiftMask, "\020" }, { Button5, ShiftMask, "\016" }, */ }; MouseKey mkeys[] = { /* button mask function argument */ { Button4, XK_NO_MOD, kscrollup, {.i = mousescrollincrement} }, { Button5, XK_NO_MOD, kscrolldown, {.i = mousescrollincrement} }, { Button4, ControlMask, kscrollup, {.i = mousescrollincrement / 2} }, { Button5, ControlMask, kscrolldown, {.i = mousescrollincrement / 2} }, { Button4, Mod1Mask, kscrollup, {.i = mousescrollincrement * 2} }, { Button5, Mod1Mask, kscrolldown, {.i = mousescrollincrement * 2} }, }; I don't understand the purpose of mshortcuts. It doesn't seem to work. -- Contact me: I am available on SIP, Matrix/Riot, and Jami. Just ask for my address.