thinkpads: polybar: fix theme import

inky
Elnu 2 years ago
parent 0ce94b5f26
commit d1cd641137

@ -1,8 +1,8 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
colors = import ../../colors; theme = import ../../modules/theme;
in in with theme.colors;
{ {
home.packages = with pkgs; [ lm_sensors ]; home.packages = with pkgs; [ lm_sensors ];
services.polybar.config = { services.polybar.config = {
@ -20,12 +20,12 @@ in
format-low = "<animation-low> <label-low>"; format-low = "<animation-low> <label-low>";
label-charging = "%{F${colors.primary}}AC%{F-} %percentage%%"; label-charging = "%{F${primary}}AC%{F-} %percentage%%";
label-discharging = "%{F${colors.primary}}BAT%{F-} %percentage%%"; label-discharging = "%{F${primary}}BAT%{F-} %percentage%%";
label-full = "%{F${colors.primary}}AC%{F-}"; label-full = "%{F${primary}}AC%{F-}";
animation-low-0 = "%{F${colors.primary}}BAT%{F-}"; animation-low-0 = "%{F${primary}}BAT%{F-}";
animation-low-1 = "%{F${colors.alert}}LOW%{F-}"; animation-low-1 = "%{F${alert}}LOW%{F-}";
full-at = 96; full-at = 96;
low-at = 10; # default low-at = 10; # default

Loading…
Cancel
Save