-
Notifications
You must be signed in to change notification settings - Fork 0
fix: disable battery #6
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
Conversation
…batteries on jammy
config.toml
Outdated
# format_mem = "{mem_used_percents}" | ||
# format_swap = "{swap_used_percents}" | ||
|
||
[[block]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the section that needs to be disabled I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤣
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I wonder if the patch you were trying to implement on |
Yeah I haven't gotten back to that patch after the concern you raised. Would there be a simple way to determine if there is a problem or not? Send a specific signal to the process and see if it restarts? |
Ohh right. I remember now. Let's try it out. Worst case, we add a flag to the state that checks if the configs have to be reinitialized. |
You can go ahead with the merge if you'd like. I'll try to figure out if it's possible to load configurations from stdin at runtime without losing out on functionality. |
Avoid global error on bar on targets without batteries on jammy.