summaryrefslogtreecommitdiff
path: root/i3status.conf
diff options
context:
space:
mode:
authorTommie Gannert <tommie@gannert.se>2016-08-01 18:03:03 +0100
committerTommie Gannert <tommie@gannert.se>2016-08-28 14:29:08 +0100
commitdc072f9f5353dc8adab14b2de99f0c1abb25e8d8 (patch)
treec49efb14c7983dad7fa215d6d96d6edd56f9b30f /i3status.conf
parentac8998ef03374abca56da9929812c6fcba936031 (diff)
Implement aggregates for batteries.
Using title number all, this enables aggregates. Note that FreeBSD and OpenBSD previously only reported aggregates, so this is bringing Linux and NetBSD that functionality. Changes the default battery reporting to the aggregate since most users probably don't care about individual batteries. For single-battery systems there should be no change. Fixes one obvious memory leak in NetBSD.
Diffstat (limited to 'i3status.conf')
-rw-r--r--i3status.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3status.conf b/i3status.conf
index 2d71a54..7f37964 100644
--- a/i3status.conf
+++ b/i3status.conf
@@ -15,7 +15,7 @@ order += "ipv6"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
-order += "battery 0"
+order += "battery all"
order += "load"
order += "tztime local"
@@ -30,7 +30,7 @@ ethernet _first_ {
format_down = "E: down"
}
-battery 0 {
+battery all {
format = "%status %percentage %remaining"
}