Update polybar

This commit is contained in:
Filippo Berto 2022-06-16 20:23:51 +02:00
parent 0be3ad3093
commit cfc1259326

View file

@ -144,25 +144,17 @@ in
};
format = {
charging = colors.selected // {
padding = 1;
text = "<animation-charging> <label-charging>";
};
discharging = colors.active // {
padding = 1;
text = "<animation-discharging> <label-discharging>";
};
full = colors.normal // {
padding = 1;
text = " <label-full>";
};
charging = colors.selected // { text = "<animation-charging> <label-charging>"; };
discharging = colors.active // { text = "<animation-discharging> <label-discharging>"; };
full = colors.normal // { text = " <label-full>"; };
};
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 = "<ramp-volume> <label-volume>"; };
};
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 = "<ramp> <label>";
warn = {
padding = 1;
text = "<ramp> <label-warn>";
underline = colors.alert;
};
@ -264,7 +255,7 @@ in
text = "%temperature-c%";
warn = "%temperature-c%";
};
ramp = { text = [ "" "" "" "" "" ]; };
ramp.text = [ "" "" "" "" "" ];
thermal.zone = "0";
type = "internal/temperature";
warn.temperature = "90";