Skip to content
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 "enable-bar-scroll" to "hypr/workspaces" #2512

Open
Hubro opened this issue Sep 16, 2023 · 6 comments
Open

Add "enable-bar-scroll" to "hypr/workspaces" #2512

Hubro opened this issue Sep 16, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@Hubro
Copy link

Hubro commented Sep 16, 2023

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?

@Alexays Alexays added the enhancement New feature or request label Oct 17, 2023
@VAWVAW
Copy link
Contributor

VAWVAW commented Feb 13, 2024

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

@Spiegie
Copy link

Spiegie commented Feb 20, 2024

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.

@Hubro
Copy link
Author

Hubro commented Mar 1, 2024

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! 😁

I just checked if you had opened a PR and I happened to find this one from 2019: #322

It makes it sound like scrolling on the entire bar surface should already be working, strange 🤔

@puffnfresh
Copy link

@Hubro that PR only has the hook implemented for Sway.

@Craeckie
Copy link

@VAWVAW I rebased your patch: https://github.com/Craeckie/Waybar
It seems to work. Would you be willing to create a PR?

@VAWVAW
Copy link
Contributor

VAWVAW commented Mar 29, 2024

I opened #3088.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants