From cfc1259326bdd82955f90319fb42d897729fcd58 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 16 Jun 2022 20:23:51 +0200 Subject: [PATCH] Update polybar --- home_manager/modules/polybar.nix | 33 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/home_manager/modules/polybar.nix b/home_manager/modules/polybar.nix index 8db545c..2c5114d 100644 --- a/home_manager/modules/polybar.nix +++ b/home_manager/modules/polybar.nix @@ -144,25 +144,17 @@ in }; format = { - charging = colors.selected // { - padding = 1; - text = " "; - }; - discharging = colors.active // { - padding = 1; - text = " "; - }; - full = colors.normal // { - padding = 1; - text = " "; - }; + charging = colors.selected // { text = " "; }; + discharging = colors.active // { text = " "; }; + full = colors.normal // { text = " "; }; }; - label = { - chargin = "%percentage%%"; - dischargin = "%percentage%%"; - full = "%percentage%%"; - }; + label.text = "%percentage%%"; + # = { + # chargin = "%percentage%%"; + # dischargin = "%percentage%%"; + # full = "%percentage%%"; + # }; }; "module/bspwm" = { @@ -244,8 +236,8 @@ in muted = colors.active; volume = colors.normal // { text = " "; }; }; - label.muted = { text = "婢"; }; - label.volume = { text = "%percentage%%"; }; + label.muted.text = "婢muted"; + label.volume.text = "%percentage%%"; ramp.volume = [ "奄" "奔" "墳" ]; type = "internal/pulseaudio"; }; @@ -254,7 +246,6 @@ in format = colors.normal // { text = "