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

Configure behavior when scrolling on workspace name #604

Closed
josephcagle opened this issue Sep 16, 2023 · 2 comments
Closed

Configure behavior when scrolling on workspace name #604

josephcagle opened this issue Sep 16, 2023 · 2 comments
Labels
enhancement Adds a new feature or extends scope

Comments

@josephcagle
Copy link

josephcagle commented Sep 16, 2023

I tend to jump between workspaces a lot, and I tend to remember the workspaces' individual numbers better than the order in which I last used them.
I like the super+pgup/down functionality and animation that switches between workspaces in numerical sequence, and I don't find the "last used" order triggered by super+above_tab to be very useful for me.

Could a setting be added to allow using the sequential switcher, instead of the last-used switcher, when the user scrolls the mouse wheel while hovering over the workspace name in the top bar?

@josephcagle josephcagle added the enhancement Adds a new feature or extends scope label Sep 16, 2023
@jtaala
Copy link
Collaborator

jtaala commented Sep 19, 2023

Hey @DarthFloopy. Sorry for the delay in replying - I've been working on Gnome 45 compatibility (which turned to be a much bigger job).

Anyways, yeah I could see the usefulness here. It's not a big change to do it so will have a look at this. If you wanted test this or give it a go yourself, you would change:

Tiling.spaces.initWorkspaceStack();

to Tiling.spaces._initWorkspaceSequence();

And these lines:

Tiling.spaces.selectStackSpace(Meta.MotionDirection.DOWN);

Tiling.spaces.selectStackSpace(Meta.MotionDirection.UP);

spaces.selectStackSpace(Meta.MotionDirection.UP, false, mode);

spaces.selectStackSpace(Meta.MotionDirection.DOWN, false, mode);

spaces.selectStackSpace(Meta.MotionDirection.DOWN);

spaces.selectStackSpace(Meta.MotionDirection.UP);

to use spaces.selectSequenceSpace instead.

Otherwise, can wait til we get time to look at this request.

Cheers!

@jtaala
Copy link
Collaborator

jtaala commented Apr 23, 2024

Closing this one as #833 fixes this (and implements this as standard behaviour).

@jtaala jtaala closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adds a new feature or extends scope
Projects
None yet
Development

No branches or pull requests

2 participants