thinkpads: polybar: fix theme import

inky
Elnu 2 years ago
parent 0ce94b5f26
commit d1cd641137

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

Loading…
Cancel
Save