🐛 fix polybar battery module
This commit is contained in:
parent
85de3b3ac6
commit
a7f9f05ccf
2 changed files with 74 additions and 64 deletions
|
@ -36,8 +36,7 @@ in
|
|||
{
|
||||
home-manager.users.moritz = {
|
||||
programs = {
|
||||
kitty.extraConfig =
|
||||
''
|
||||
kitty.extraConfig = ''
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin-Frappe
|
||||
|
@ -253,6 +252,14 @@ in
|
|||
format-connected-foreground = base;
|
||||
format-connected-background = mauve;
|
||||
};
|
||||
"module/battery" = {
|
||||
format-charging-foreground = base;
|
||||
format-charging-background = green;
|
||||
format-full-foreground = base;
|
||||
format-full-background = green;
|
||||
format-discharging-foreground = base;
|
||||
format-discharging-background = red;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -74,8 +74,11 @@ in
|
|||
time-format = "%H:%M";
|
||||
|
||||
format-charging = "<animation-charging> <label-charging>";
|
||||
format-charging-padding = 1;
|
||||
format-discharging = "<animation-discharging> <label-discharging>";
|
||||
format-discharging-padding = 1;
|
||||
format-full = " <label-full>";
|
||||
format-full-padding = 1;
|
||||
|
||||
label-charging = "%percentage%% %time% remaining";
|
||||
label-discharging = "%percentage%% %time% remaining";
|
||||
|
|
Loading…
Reference in a new issue