Waybar
Waybar copied to clipboard
Add "enable-bar-scroll" to "hypr/workspaces"
sway/workspaces
has an option called enable-bar-scroll
that lets you scroll through workspaces anywhere on the bar, not just while hovering over the workspaces.
I have a very wide monitor, so I was a heavy user of this.
Could we have this option on hypr/workspaces
as well?
Alternatively, would it be possible to add a on-scroll-{up|down}
on the bar itself, so we could bind anything to it?
I've made a simple patch for this. Could you test if it works with named and persistent workspaces since I only used numbered ones. my fork
for everyone finding this Issue and if the fork is not yet merged: Waybar has a note on this topic in their wiki https://wiki.hyprland.org/Useful-Utilities/Status-Bars/#scrolling-through-workspaces I hope, you find it useful.
I've made a simple patch for this. Could you test if it works with named and persistent workspaces since I only used numbered ones. my fork
Sorry for the slow reply, just tested this now and it seems to work! :grin:
I just checked if you had opened a PR and I happened to find this one from 2019: https://github.com/Alexays/Waybar/pull/322
It makes it sound like scrolling on the entire bar surface should already be working, strange :thinking:
@Hubro that PR only has the hook implemented for Sway.
@VAWVAW I rebased your patch: https://github.com/Craeckie/Waybar It seems to work. Would you be willing to create a PR?
I opened #3088.