-
Notifications
You must be signed in to change notification settings - Fork 477
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
It seems no warning_cpu/critical_cpu values can be set #1915
Comments
PRs welcome :) By the way, it might be better to implement something like what the bluetooth block has instead of warning/good/info/etc. |
https://docs.rs/i3status-rs/latest/i3status_rs/blocks/bluetooth/index.html#examples
it seems this is new, but https://docs.rs/i3status-rs/latest/i3status_rs/blocks/memory/index.html#example
So there are more than one standard of critical/warning for all blocks? |
Do you have a solution to go forward that doesn't break existing configurations? Maybe something like [block.memory_state] added to memory block which takes precedence over the existing warning_mem etc if set, then eventually the old way deprecated in a future release. |
i3status-rust releases already broke its configuration for a few times, I almost get used to it. Maybe something like |
Yeah, unfortunately. Bluetooth has it this way because it might be more intuitive (#1830) and it was sort of experimental.
This sounds good to me. |
blocks/cpu: Add critical/warning/info values in configuration Closes #1915
i3status-rust/src/blocks/cpu.rs
Lines 133 to 136 in e02ea1e
Values are hard coded 0.9/0.6/0.3?
The text was updated successfully, but these errors were encountered: