From 9781ef06b035467c04c4f18b59e87cdec248023a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 1 Apr 2023 20:29:16 +0100 Subject: [PATCH] home: wm: i3bar: better 'battery' formats --- home/wm/i3bar/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/wm/i3bar/default.nix b/home/wm/i3bar/default.nix index afe0d91..a2c9f3a 100644 --- a/home/wm/i3bar/default.nix +++ b/home/wm/i3bar/default.nix @@ -71,7 +71,8 @@ in } { block = "battery"; - format = " $icon $percentage ($time) "; + format = " $icon $percentage{ ($time)|} "; + not_charging_format = " $icon $percentage "; full_format = " $icon $percentage "; } {