From b8f8c7cfa7c3d1b4b2a14725e3d2acd76042e9ad Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 27 Jun 2023 20:14:23 +0100 Subject: [PATCH] home: wm: i3bar: fix 'battery' block on empty --- home/wm/i3bar/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/wm/i3bar/default.nix b/home/wm/i3bar/default.nix index 929cc27..38a78b9 100644 --- a/home/wm/i3bar/default.nix +++ b/home/wm/i3bar/default.nix @@ -78,6 +78,7 @@ in { block = "battery"; format = " $icon $percentage{ ($time)|} "; + empty_format = " $icon $percentage{ ($time)|} "; not_charging_format = " $icon $percentage "; full_format = " $icon $percentage "; }