Fancier icon-based workspace switcher
WIP code, know problems:
- very dirty code, high chance of dead code etc... it's the first version I'm happy with after trying a lot of things
- chance of unneeded changes
- proper initialization / initial state is missing
- didn't test non-icons or vertical mode
Sorry for this PR ;)
I'm testing this and the workspaces seem broken. I can almost see the elastic effect when using the default ones, but with a transparent color, or black, I don't really know. There is that primary colored thing that I assume is the elastic highlight?
This version should be more robust
I think it's broken after rebase, I've fixed it locally but will better test tomorrow.
Please give it another try when you have time, it's really robust now, at least for me.
When no label is used, it's not looking great (position are not matching the expectation). I suggest it could just be the same as the "icon" mode using " " as an icon, or something like this... I'm pushing a last commit to make things more consistent, but I didn't check anything vertical for now.
Multi-monitor is still kind of broken but less than the current main branch in my case... I think it would require a bigger refactor regarding the event handling.
Cleaned up the PR + rebased ... includes one last fix for multi-monitor support.
rebased again