Skip to content

Improve battery bar colors#157

Open
FantasyTeddy wants to merge 1 commit intolptstr:masterfrom
FantasyTeddy:master
Open

Improve battery bar colors#157
FantasyTeddy wants to merge 1 commit intolptstr:masterfrom
FantasyTeddy:master

Conversation

@FantasyTeddy
Copy link

This change fixes #145, however I did not quite implement it as suggested.

The battery color will behave as follows:

  • If the battery percentage is below 20% it will display the bar in red.
  • If it is between 20% and 40% it will display the entire bar in yellow.
  • If it is higher than 40% it will display the entire bar in green.

I am also not completely sold with my choice of $reverseColor for the parameter name...

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

Successfully merging this pull request may close these issues.

Battery bar indicator color enhancement

1 participant