-
-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add window rules for mouse and touchpad scroll factors #8655
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested on my touchpad, lgtm.
Something's still off. The touchpad scroll factor is using EDIT: It's been fixed. |
7cb381a
to
38ac4fc
Compare
can you rebase on main pls? |
9905116
to
ecc116f
Compare
ecc116f
to
60003a2
Compare
Okay, made the following changes:
|
60003a2
to
c6b0de8
Compare
Moved the factor override past all the potential early return cases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
just a wiki mr needed |
Describe your PR, what does it fix/add?
There are scenarios where I want the scroll factor to be different on a per-window/application basis. This change adds window rules for overriding the global scroll factors. There is one for the mouse scroll factor (
scrollmouse
) and one for the touchpad (scrolltouchpad
)Example:
hyprland.conf
:Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
Not that I can think of.
Is it ready for merging, or does it need work?
Ready for merging.