hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
462 stars 43 forks source link

hyprexpo: keyboard support + a few other thoughts #123

Open sylk0s opened 3 months ago

sylk0s commented 3 months ago

It would be very nice if there were keybinds to swap the selected workspaces geometrically. For example, someone could toggle hyprexpo, then click around to the workspace they want (without swapping, just changing the highlighted one) and click enter to swap to it. This would also work nicely in combination with the option to add a border to the currently selected workspace.

A few other thoughts I had:

I was planning to make a PR, but i'm honestly not familiar enough with the code base to do so ATM... maybe in a few weeks when I have more time I'll get around to it if none of these end up getting implemented

alba4k commented 3 months ago

just to let you know, you can still use your classic bindings to switch workspace while in hyprexpo, which does work quite well (and is animated properly)

totally agree about the gaps on the outside tho

sylk0s commented 3 months ago

just to let you know, you can still use your classic bindings to switch workspace while in hyprexpo, which does work quite well (and is animated properly)

totally agree about the gaps on the outside tho

I did think of this, but i thought it would be nice to have something that feels more geometric.. Like, i could write a script to figure out which workspace is "up" from the current one but it feels like that's easier just to integrate into the code as a specific keybind, especially since there can be different layouts. I also generally want to be able to move the selected workspace without swapping to it (and just updating that in the hyprexpo view but having a border around the current one), which is currently not possible (as far as im aware).