From dc072f9f5353dc8adab14b2de99f0c1abb25e8d8 Mon Sep 17 00:00:00 2001 From: Tommie Gannert Date: Mon, 1 Aug 2016 18:03:03 +0100 Subject: 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. --- i3status.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i3status.conf') 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" } -- cgit v1.2.3