From 87d3981dd46b928badd39c85e44de8f4629cd48e Mon Sep 17 00:00:00 2001 From: Mohammed Ismail Ansari Date: Sun, 29 Mar 2020 18:03:51 -0500 Subject: add more specificity to describe color_degraded and color_bad --- man/i3status.man | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'man') diff --git a/man/i3status.man b/man/i3status.man index c2849c3..e668312 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -363,7 +363,7 @@ your system. The first occurrence of %d gets replaced with the battery number, but you can just hard-code a path as well. It is possible to define a low_threshold that causes the battery text to be -colored red. The low_threshold type can be of threshold_type "time" or +colored color_bad. The low_threshold type can be of threshold_type "time" or "percentage". So, if you configure low_threshold to 10 and threshold_type to "time", and your battery lasts another 9 minutes, it will be colored red. @@ -428,14 +428,14 @@ Gets the percentual CPU usage from +/proc/stat+ (Linux) or +sysctl(3)+ (FreeBSD/OpenBSD). It is possible to define a max_threshold that will color the load -value red in case the CPU average over the last interval is getting +value with color_bad in case the CPU average over the last interval is getting higher than the configured threshold. Defaults to 95. The output format when above max_threshold can be customized with format_above_threshold. It is possible to define a degraded_threshold that will color the load -value yellow in case the CPU average over the last interval is getting -higher than the configured threshold. Defaults to 90. The output format +value with color_degraded in case the CPU average over the last interval is +getting higher than the configured threshold. Defaults to 90. The output format when above degraded threshold can be customized with format_above_degraded_threshold. @@ -464,11 +464,11 @@ available. These will print human readable values. It's also possible to prefix the placeholders with +percentage_+ to get a value in percent. It's possible to define a +threshold_degraded+ and a +threshold_critical+ to -color the status bar output in yellow or red, if the available memory falls -below the given threshold. Possible values of the threshold can be any integer, -suffixed with an iec symbol (+T+, +G+, +M+, +K+). Alternatively, the integer -can be suffixed by a percent sign, which then rets evaluated relatively to -total memory. +color the status bar output in color_degraded or color_bad, if the available +memory falls below the given threshold. Possible values of the threshold can be +any integer, suffixed with an iec symbol (+T+, +G+, +M+, +K+). Alternatively, +the integer can be suffixed by a percent sign, which then rets evaluated +relatively to total memory. If the +format_degraded+ parameter is given and either the critical or the degraded threshold applies, +format_degraded+ will get used as format string. @@ -510,7 +510,7 @@ methods to distinguish the actually used memory. Gets the system load (number of processes waiting for CPU time in the last 1, 5 and 15 minutes). It is possible to define a max_threshold that will -color the load value red in case the load average of the last minute is +color the load value color_bad in case the load average of the last minute is getting higher than the configured threshold. Defaults to 5. The output format when above max_threshold can be customized with format_above_threshold. -- cgit v1.2.3