francma / wob

A lightweight overlay volume/backlight/progress/anything bar for Wayland.
ISC License
911 stars 50 forks source link

feature req: color segments #96

Open jficz opened 2 years ago

jficz commented 2 years ago

I'd like to be able to use different colors for different segments of the bar. Something like this: segments

One way to think of this would be as an extension to #67 where one would have to define something like --width 100 --overflow-width 150 if the expected overflow is 150.

Another (and preferred) way to think of this is splitting the bar to arbitrary number of segments with each one having a different color. The example image above, assuming the width of the bar is ~100, it would be something like

Now I can only think of one practical use case: volume boost, which only needs two segments but I imagine other people might come up with something that can leverage more than two segments or even fancy things like gradients, etc.