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

format-alt incompatible with format-<status> on battery module #3563

Open
Squashbucklr opened this issue Sep 3, 2024 · 0 comments
Open

format-alt incompatible with format-<status> on battery module #3563

Squashbucklr opened this issue Sep 3, 2024 · 0 comments

Comments

@Squashbucklr
Copy link

Squashbucklr commented Sep 3, 2024

I have format-alt set for my battery module so that when I click it, it shows the percentage as a number rather than as a bar using unicode characters. However, this behavior does not work when the battery level is critical.

Potential expected behaviors:

  1. format-alt works even when battery status is critical
  2. format-alt-critical or format-critical-alt exists and works as expected

Config excerpt:

"format": "B[<span font-size=\"76%\">{icon}</span>]",
"format-alt": "B[{capacity:>2}%{time}]",
"format-critical": "B[<span font-size=\"76%\">{icon}</span>]",
"format-alt-critical": "B[{capacity:>2}%{time}]", // does not work!

I have not tested this with format-<state>

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

No branches or pull requests

1 participant