Open sebastinas opened 1 year ago
On GitLab by @valoq on Dec 9, 2022, 21:46
This would be something to look for in girara, though I don't think there is such an option. In any case, I would argue that the scroll speed/amount is something that would rather be configured inside your window manager/compositor.
On GitLab by @NightMachinery on Dec 13, 2022, 08:16
@valoq I am using macOS, so there isn't a good window manager. I can do this using Hammerspoon or BetterTouchTool, but Hammerspoon is buggy in setting app-specific hotkeys, and BetterTouchTool drains the battery. It would be much better if this was implemented in the app itself.
On GitLab by @valoq on Dec 14, 2022, 16:54
Maybe what you are looking for can be set by "scroll-step" in zathurarc
e.g. add this to your config: 'set scroll-step 100' (the default value is 40)
You can find the details in the zathurarc man page
On GitLab by @NightMachinery on Dec 14, 2022, 17:21
@valoq Thanks, I already use those options. The problem is that I want different hotkeys to scroll by different amounts. (The scroll-step also messes up trackpad scrolling.)
On GitLab by @valoq on Dec 14, 2022, 17:34
Ah, I think you could use a custom key mapping for that:
map <keyA-keyB> scroll-step 100
map <keyA-keyC> scroll-step 40
This would set the general scroll speed.
The zathura man page mentions custom functions as well, though I never tried those. They might help you build something that changes the speed only for a single key mapping.
On GitLab by @NightMachinery on Dec 4, 2022, 04:19
How do I set the scroll amount for keybindings in zathurarc?
I want something like: