summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSimon Elsbrock <simon@iodev.org>2012-05-22 23:14:59 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-05-25 09:53:49 +0200
commit7c02c10b728a099a6d328df9cfd9a3f1c4b88702 (patch)
treef5203932e086b125987a8889c774bbd63854f012 /man
parent7a77472a810b0a955f2755dd028216965b56be31 (diff)
colorize battery output if remaining time below threshold
Diffstat (limited to 'man')
-rw-r--r--man/i3status.man3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 195b648..7f88750 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -72,6 +72,7 @@ ethernet eth0 {
battery 0 {
format = "%status %percentage %remaining %emptytime"
path = "/sys/class/power_supply/BAT%d/uevent"
+ threshold = 10
}
run_watch DHCP {
@@ -207,6 +208,8 @@ with the battery number, but you can just hard-code a path as well.
*Example format*: +%status %remaining (%emptytime)+
+*Example threshold*: +threshold 10+
+
=== CPU-Temperature
Gets the temperature of the given thermal zone.