summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGjum <code.gjum@gmail.com>2016-07-27 19:57:50 +0200
committerGjum <code.gjum@gmail.com>2016-07-27 20:03:55 +0200
commitdbc0f9bd8c3561eb7b9c2d7c13518cb825695d23 (patch)
tree23a16af431af0846a140e341e67f38083eac4bf3
parent1e8dab273d8542366c098dfcda37756db6b2bcd7 (diff)
change default cpu_usage thresholds to 90 and 95
-rw-r--r--i3status.c4
-rw-r--r--man/i3status.man8
2 files changed, 6 insertions, 6 deletions
diff --git a/i3status.c b/i3status.c
index 54d850f..e213da4 100644
--- a/i3status.c
+++ b/i3status.c
@@ -413,8 +413,8 @@ int main(int argc, char *argv[]) {
cfg_opt_t usage_opts[] = {
CFG_STR("format", "%usage", CFGF_NONE),
- CFG_FLOAT("max_threshold", 200, CFGF_NONE),
- CFG_FLOAT("degraded_threshold", 200, CFGF_NONE),
+ CFG_FLOAT("max_threshold", 95, CFGF_NONE),
+ CFG_FLOAT("degraded_threshold", 90, CFGF_NONE),
CFG_CUSTOM_ALIGN_OPT,
CFG_CUSTOM_COLOR_OPTS,
CFG_CUSTOM_MIN_WIDTH_OPT,
diff --git a/man/i3status.man b/man/i3status.man
index f5baa2f..a557ae3 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -386,19 +386,19 @@ Gets the percentual CPU usage from +/proc/stat+ (Linux) or +sysctl(3)+
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
-higher than the configured threshold. Defaults to 200 (i.e. off).
+higher than the configured threshold. Defaults to 95.
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 150 (i.e. off).
+higher than the configured threshold. Defaults to 90.
*Example order*: +cpu_usage+
*Example format*: +%usage+
-*Example max_threshold*: +"200,0"+
+*Example max_threshold*: +75+
-*Example degraded_threshold*: +"150,0"+
+*Example degraded_threshold*: +25+
=== Load