summaryrefslogtreecommitdiff
path: root/man/i3status.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/i3status.man')
-rw-r--r--man/i3status.man5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/i3status.man b/man/i3status.man
index 0666230..a15de86 100644
--- a/man/i3status.man
+++ b/man/i3status.man
@@ -75,6 +75,7 @@ ethernet eth0 {
battery 0 {
format = "%status %percentage %remaining"
+ path = "/sys/class/power_supply/BAT%d/uevent"
}
run_watch DHCP {
@@ -193,6 +194,10 @@ your battery is at 23% when fully charged because it’s old. In general, I
want to see it this way, because it tells me how worn off my battery is.),
just specify +last_full_capacity = true+.
+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.
+
*Example order*: +battery 0+
*Example format*: +%status %remaining+