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

Support overrideing icons with the default format #8

Merged

Conversation

o-nikolas
Copy link
Contributor

Battstat has a default format that it prints if the user does not provide one. However, it is broken if the user provides an override for the charging or discharging icons.

This patch fixes this and supports the default format with icon overrides (fixes #7).

Example of the new support (note - the preexec and postexec messages are a separate tool I use):
Screenshot from 2023-09-22 11-08-14

Battstat has a default format that it prints if the user does not
provide one. However, it is broken if the user provides an override for
the charging or discharging icons.

This patch fixes this and supports the default format with icon
overrides.
@o-nikolas
Copy link
Contributor Author

CC @imwally

@o-nikolas
Copy link
Contributor Author

I suppose this project is dead now :(

@imwally
Copy link
Owner

imwally commented Mar 25, 2024

It's not dead yet!

Thanks for the PR. I responded in issue #7 and would love to hear more about the issue. I think we might be able to come up with another solution but I'd love to hear more about what is causing the issue.

Thanks again!

@imwally imwally merged commit f9f8ae3 into imwally:master Mar 27, 2024
@imwally
Copy link
Owner

imwally commented Mar 27, 2024

Merged! Sorry for the long delay. Thanks again for your contribution!

@o-nikolas
Copy link
Contributor Author

Thanks for the merge!

This pull request was closed.
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.

Specifying --charging-icon or --discharging-icon should not break the default usage
2 participants