diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2012-05-25 09:57:03 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-05-25 09:57:03 +0200 |
commit | 850f6720b5b7323a2b986d8da1baa04077278323 (patch) | |
tree | ee87f37a03804f6fa18ce9e7c98d994ccfea9924 /man/i3status.man | |
parent | 7c02c10b728a099a6d328df9cfd9a3f1c4b88702 (diff) |
rename threshold to low_threshold and document it properly
Diffstat (limited to 'man/i3status.man')
-rw-r--r-- | man/i3status.man | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man/i3status.man b/man/i3status.man index 7f88750..7df3d9d 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -72,7 +72,7 @@ ethernet eth0 { battery 0 { format = "%status %percentage %remaining %emptytime" path = "/sys/class/power_supply/BAT%d/uevent" - threshold = 10 + low_threshold = 10 } run_watch DHCP { @@ -204,11 +204,15 @@ 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. + *Example order*: +battery 0+ *Example format*: +%status %remaining (%emptytime)+ -*Example threshold*: +threshold 10+ +*Example low_threshold*: +low_threshold 10+ === CPU-Temperature |