From 7c02c10b728a099a6d328df9cfd9a3f1c4b88702 Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Tue, 22 May 2012 23:14:59 +0200 Subject: colorize battery output if remaining time below threshold --- man/i3status.man | 3 +++ 1 file changed, 3 insertions(+) (limited to 'man/i3status.man') 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. -- cgit v1.2.3