From 67b91f8c88be1beb2cf4d717587e2dbd70bae459 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 24 Jul 2021 02:18:27 +0200 Subject: [PATCH] home: i3bar: show battery for laptops --- home/x/i3bar.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/x/i3bar.nix b/home/x/i3bar.nix index dadde9b..afa170e 100644 --- a/home/x/i3bar.nix +++ b/home/x/i3bar.nix @@ -93,6 +93,11 @@ in block = "sound"; driver = "pulseaudio"; } + ] ++ (lib.lists.optionals config.my.home.laptop.enable [ + { + block = "battery"; + } + ]) ++ [ # { # block = "notify"; # }