Open Kommynct opened 1 year ago
Facing the same issue, mouse scrolling is fine but trying to change the brightness or volume on a touchpad is god awful. Also setting a low scroll factor on sway has no effect on waybar.
@Alexays Could it be that pulseaudio/backlight modules shouldn't listen to smooth scroll events at all? It's just a guess without knowing the details. Smooth scroll events may be too frequent for these kind of task.
I received a notification and email of Mateo's comment, but didn't see it here (is it just me?).
You can set the smooth-scrolling-threshold to 1.0 to have a more manageable speed. E.g.
"pulseaudio": { "format": "{volume}% {icon}", "format-muted": "{volume}% ", "format-icons": ["", "", ""], "smooth-scrolling-threshold": 1.0 },
This works well, for me at least. Thanks.
Actually, the option name "smooth-scrolling-threshold" confuses me. It actually works more like a "(reverse) scaling factor" of "smooth scrolling distance" -> "discrete scroll steps" conversion. But, a "threshold" sounds like a "won't work if below this" kind of concept :)
Now the question is:
It takes almost 0 movement to get from 0% to 100% on the pulseaudio module, and leaving scrolling on for workspace management is... awful
i've tried setting smooth-scrolling-threshold to insane numbers and it seems to do nothing at all.