LGUG2Z / komorebi

A tiling window manager for Windows 🍉
https://lgug2z.github.io/komorebi/
Other
8.5k stars 168 forks source link

[FEAT]: Workspace buttons #784

Closed CtByte closed 3 weeks ago

CtByte commented 3 months ago

Is your feature request related to a problem? Please describe. As a new user of Komorebi, I wanted to have a visual indication for my workspaces. I've been using Zebar for its integration, but I ran into issues that forced me to disable the Komorebi provider. One of those is #746.

Describe the solution you'd like I would like to have a reliable way to see which workspace I am currently on. A bar would be the best, which I know was in development before, but I would not mind if it is limited to the workspace buttons only (like the stackbar).

Describe alternatives you've considered I have tried both Zebar and yasb, but Zebar is currently not stable using the provider, for everything else it is wonderful (css + js + yaml + templating = win). Yasb was not easy to install and even though it has a great integration with Komorebi the other providers did not fit my needs.

I have also considered switching to GlazeVM, but I like Komorebi too much :)

Additional context I've found the old attempt and was sad to see that it is not longer pursued. Then I saw your video on the egui and I decided to make this request. Perhaps it would be more motivating to rethink the bar using this new crate.

I am new to Rust and I would be more than happy and motivated to help adding this feature (and other providers as well) to Komorebi. However, I am not sure if a bar is within the scope of this project, since you helped both Zebar and yasb to implement the integration.

LGUG2Z commented 3 months ago

image

image

Was just playing around with this after work today; it works pretty nicely with threaded subscriptions using the komorebi_client crate.

I'll probably do a YouTube mini series on making a basic bar with Egui once the current mini series is finished, and see if there is enough interest from other people to contribute and maintain it.

CtByte commented 3 months ago

@LGUG2Z This looks really great! I would be more than happy to contribute to this. I added some stuff to Zebar that could be included in this as well :)

KevinNitroG commented 3 months ago

@LGUG2Z I'm looking forward to it also 😁

LGUG2Z commented 3 months ago

This is gonna be the next YouTube series after the egui series 🎉

I'm hoping that by developing it from the first commit on YouTube it will be easier for users to learn how to contribute 🤞

CtByte commented 3 months ago

I did some testing myself. I find the group to be similar to what most people use for Hyprland.

image

Had some issues with transparency, but I found half of the solution here (in case anyone wants to know)

CtByte commented 3 weeks ago

Here we go 🎉 and the journey begins

https://www.youtube.com/watch?v=x2Z5-K05bHs