Fix polybar fonts + unique ramp

This commit is contained in:
Filippo Berto 2021-06-25 09:28:26 +02:00
parent 9bcc8eb808
commit a652b89420

View file

@ -59,14 +59,14 @@ let
bottom.size = 0;
};
font = [
"FuraCode Nerd Font Mono:pixelsize=10;2"
"Material Design Icons;2"
"EmojiOne Color;0"
"NotoEmoji Nerd Font Mono;0"
"Noto Color Emoji;0"
"FuraCode Nerd Font Mono:size=9;2"
"Material Design Icons:size=9;2"
"NotoEmoji Nerd Font Mono:size=9;0"
];
wm-restack = "bspwm";
};
ramp = [ "" "" "" "" "" "" ];
in
{
home.packages = with pkgs; [ nerdfonts emojione noto-fonts-emoji ];
@ -127,15 +127,15 @@ in
format = {
charging = colors.selected // {
padding = 1;
text = "<label-charging> <animation-charging>";
text = "<animation-charging> <label-charging>";
};
discharging = colors.active // {
padding = 1;
text = "<label-discharging> <animation-discharging>";
text = "<animation-discharging> <label-discharging>";
};
full = colors.normal // {
padding = 1;
text = "<label-full> ";
text = " <label-full>";
};
};
@ -168,12 +168,12 @@ in
"module/cpu" = {
type = "internal/cpu";
format = colors.normal // {
text = "CPU <label> <ramp-load>";
text = "󰍛 <label>";
padding = 1;
};
interval = 2;
label = "%percentage-sum%%";
ramp-load = [ "" "" "" "" "" "" ];
ramp-load = ramp;
};
"module/date" = {
@ -197,11 +197,11 @@ in
type = "internal/memory";
format = colors.normal // {
padding = 1;
text = "RAM <label> <ramp-used>";
text = "󰍜 <label>";
};
interval = 2;
label = "%percentage_used%%";
ramp-used = [ "" "" "" "" "" "" ];
ramp-used = ramp;
};
"module/pulseaudio" = {
@ -238,7 +238,7 @@ in
};
volume = colors.normal // {
padding = 1;
text = "VOL <label-volume> <ramp-volume>";
text = "<ramp-volume> <label-volume>";
};
};
label.muted = {
@ -254,10 +254,10 @@ in
"module/temperature" = {
format = colors.normal // {
padding = 1;
text = "<label> <ramp>";
text = "<ramp> <label>";
warn = {
padding = 1;
text = "<label-warn> <ramp>";
text = "<ramp> <label-warn>";
underline = colors.alert;
};
};