MalpenZibo / ashell

A ready to go Wayland status bar for Hyprland
MIT License
51 stars 5 forks source link

Switching workspaces with the mouse wheel #56

Open fiersik opened 3 weeks ago

fiersik commented 3 weeks ago

It would be convenient to switch workspaces with the mouse wheel when hovering over the workspaces widget.

It would also be desirable to make customizable commands for moving forward and backward, since there are different ways to switch.

MalpenZibo commented 3 weeks ago

I'm not sure if could be really useful to change the workspace with the mouse wheel (I mean you are already there just click on one workspace). Anyway if it's trivial to implement I can do that.

I don't get the second request

fiersik commented 3 weeks ago

hyprland supports several types of moving across workspaces

relative values: +1, -1
enabling empty workspaces: r+1, r-1 create a new workspace :e+1, e-1

MalpenZibo commented 3 weeks ago

Ok, if it's a keyboard combination is more a hyprland config. For the mouse wheel change could make sense to provide a configuration to decide the type of movement

fiersik commented 3 weeks ago

it does not depend on the hyprland configuration