Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature req: color segments #96

Open
jficz opened this issue Apr 3, 2022 · 0 comments
Open

feature req: color segments #96

jficz opened this issue Apr 3, 2022 · 0 comments

Comments

@jficz
Copy link

jficz commented Apr 3, 2022

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

  • for values in <0; 65> the color is white
  • for values in (65; max> the color is red

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant