MalpenZibo / ashell

A ready to go Wayland status bar for Hyprland
MIT License
38 stars 4 forks source link

Switching workspaces with the mouse wheel #56

Open fiersik opened 6 days ago

fiersik commented 6 days 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 6 days 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 6 days 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 5 days 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 5 days ago

it does not depend on the hyprland configuration