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

(enhancement) Change workspaces using mouse wheel/add next workspace when using dynamic workspaces #9

Open
mjnck opened this issue Oct 20, 2021 · 4 comments

Comments

@mjnck
Copy link

mjnck commented Oct 20, 2021

It would be great if there will be option to change workspaces using scroll wheel when hovering cursor over this extension buttons, also allow to create one new dynamic workspace when changing workspaces using mouse wheel.

@mjnck mjnck changed the title Change workspaces using mouse wheel/add next workspace when using dynamic workspaces (enhancement) Change workspaces using mouse wheel/add next workspace when using dynamic workspaces Oct 20, 2021
@MichaelAquilina
Copy link
Owner

MichaelAquilina commented Oct 20, 2021

This shouldn't actually too hard if you want to try have a go at coding it yourself :) Especially relevant if you are taking part in Hacktoberfest

@yurenchen000
Copy link
Contributor

I have made this feature
maybe I can create a PR

@MichaelAquilina
Copy link
Owner

@yurenchen000 feel free to open a PR and I'll give it a look first chance I get :)

@yurenchen000
Copy link
Contributor

yurenchen000 commented Jan 8, 2023

the PR

@MichaelAquilina
I open the PR #23 here.


I didn't implement add-workspace operator, cause I rarely use that feature.
if someone wants to implement it, I guess an explicit menu might be better:

manjaro_workspace_switcher
manjaro(kde) wrokspace indicator



Thoughts about mouse switch workspaces

I switch workspaces very frequently every day, so I think a lot about how to switch workspace as easy as possible (and not conflict with other operation)

  • ✔️ when hand on keyboard, I use global keyboard shortcuts
  • ✔️ when hand on laptop touchpad, I use global three-finger swipe gesture
    https://extensions.gnome.org//extension/4245/gesture-improvements/
  • when hand on mouse,
    • ⭕ aim and click the small indicator button // I feel this operation is not lazy and natural enough.
    • ⭕ aim and scroll over the small indicator // only a little better, still need aim the little indicator

gnome-shell has builtin mouse-scroll workspace switch support, but..

  • ⭕ scroll over gnome-shell dash panel blank area // The trigger area is large enough,
    // but it's not in the focus of vision field, and lack of indicator
    // and horizontal mouse movement seems less natural than vertical
  • ⭕ call activities view, mouse-scroll to swich workspace
    // screen zooming and switching interrupts the experience

so I think about

  • a global mouse-scroll operation, with some modifier key (maybe win or alt key) ?
    //manjaro(kde) mouse-scroll on desktop can swich workspace, But it is inconvenient when the desktop is covered

  • extend the trigger area by

    • a bigger indicator ?
    • whole (or half) top bar (behavior like the dash-panel does)?

what do you think

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

No branches or pull requests

3 participants