From 68f438ec9eefbca5d735a1a7897d52e0e8e6f1c7 Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Thu, 23 Aug 2012 16:42:38 +0200 Subject: add additional battery threshold type "percentage" The battery threshold can now be configured as type "time" or "percentage", but defaults to "time" to prevent unexpected behavior. Also, low_threshold was set to a more reasonable default of 30. --- man/i3status.man | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'man/i3status.man') diff --git a/man/i3status.man b/man/i3status.man index 9ec6acb..5938acb 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -204,15 +204,18 @@ If your battery is represented in a non-standard path in /sys, be sure to modify the "path" property accordingly. The first occurence of %d gets replaced with the battery number, but you can just hard-code a path as well. -If the remaining time sinks below low_threshold minutes, the battery text will -be colored red. So, if you configure low_threshold to 10, and your battery -lasts another 9 minutes, it will be colored red. +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 +"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. *Example order*: +battery 0+ *Example format*: +%status %remaining (%emptytime %consumption)+ -*Example low_threshold*: +low_threshold 10+ +*Example low_threshold*: +30+ + +*Example threshold_type*: +time+ === CPU-Temperature -- cgit v1.2.3