diff --git a/polybar/index.nix b/polybar/index.nix index 0b340c8..18ad65a 100644 --- a/polybar/index.nix +++ b/polybar/index.nix @@ -5,8 +5,7 @@ let background-alt = "#3b4252"; foreground = "#eceff4"; primary = "#8fbcbb"; - secondary = "#ff00ff"; # not sure what this does - alert = "#ff00ff"; # not sure what this does + alert = "#bf616a"; disabled = "#434c5e"; in { @@ -130,9 +129,16 @@ in battery = "BAT0"; adapter = "AC"; + format-low = " "; + label-charging = "%{F${primary}}AC%{F-} %percentage%%"; - label-discharging = "%{F${primary}}BAT%{F-} %percentage%%"; - label-full = "%{F${primary}}AC%{F-}"; + label-discharging = "%{F${primary}}BAT%{F-} %percentage%%"; label-full = "%{F${primary}}AC%{F-}"; + + animation-low-0 = "%{F${primary}}BAT%{F-}"; + animation-low-1 = "%{F${alert}}LOW%{F-}"; + + full-at = 99; + low-at = 10; # default }; "module/date" = { type = "internal/date";