Fix polybar fonts + unique ramp
This commit is contained in:
parent
9bcc8eb808
commit
a652b89420
1 changed files with 15 additions and 15 deletions
|
|
@ -59,14 +59,14 @@ let
|
||||||
bottom.size = 0;
|
bottom.size = 0;
|
||||||
};
|
};
|
||||||
font = [
|
font = [
|
||||||
"FuraCode Nerd Font Mono:pixelsize=10;2"
|
"FuraCode Nerd Font Mono:size=9;2"
|
||||||
"Material Design Icons;2"
|
"Material Design Icons:size=9;2"
|
||||||
"EmojiOne Color;0"
|
"NotoEmoji Nerd Font Mono:size=9;0"
|
||||||
"NotoEmoji Nerd Font Mono;0"
|
|
||||||
"Noto Color Emoji;0"
|
|
||||||
];
|
];
|
||||||
wm-restack = "bspwm";
|
wm-restack = "bspwm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ramp = [ "▂" "▃" "▄" "▅" "▆" "▇" ];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ nerdfonts emojione noto-fonts-emoji ];
|
home.packages = with pkgs; [ nerdfonts emojione noto-fonts-emoji ];
|
||||||
|
|
@ -127,15 +127,15 @@ in
|
||||||
format = {
|
format = {
|
||||||
charging = colors.selected // {
|
charging = colors.selected // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "<label-charging> <animation-charging>";
|
text = "<animation-charging> <label-charging>";
|
||||||
};
|
};
|
||||||
discharging = colors.active // {
|
discharging = colors.active // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "<label-discharging> <animation-discharging>";
|
text = "<animation-discharging> <label-discharging>";
|
||||||
};
|
};
|
||||||
full = colors.normal // {
|
full = colors.normal // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "<label-full> ";
|
text = " <label-full>";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -168,12 +168,12 @@ in
|
||||||
"module/cpu" = {
|
"module/cpu" = {
|
||||||
type = "internal/cpu";
|
type = "internal/cpu";
|
||||||
format = colors.normal // {
|
format = colors.normal // {
|
||||||
text = "CPU <label> <ramp-load>";
|
text = " <label>";
|
||||||
padding = 1;
|
padding = 1;
|
||||||
};
|
};
|
||||||
interval = 2;
|
interval = 2;
|
||||||
label = "%percentage-sum%%";
|
label = "%percentage-sum%%";
|
||||||
ramp-load = [ "▂" "▃" "▄" "▅" "▆" "▇" ];
|
ramp-load = ramp;
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/date" = {
|
"module/date" = {
|
||||||
|
|
@ -197,11 +197,11 @@ in
|
||||||
type = "internal/memory";
|
type = "internal/memory";
|
||||||
format = colors.normal // {
|
format = colors.normal // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "RAM <label> <ramp-used>";
|
text = " <label>";
|
||||||
};
|
};
|
||||||
interval = 2;
|
interval = 2;
|
||||||
label = "%percentage_used%%";
|
label = "%percentage_used%%";
|
||||||
ramp-used = [ "▂" "▃" "▄" "▅" "▆" "▇" ];
|
ramp-used = ramp;
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/pulseaudio" = {
|
"module/pulseaudio" = {
|
||||||
|
|
@ -238,7 +238,7 @@ in
|
||||||
};
|
};
|
||||||
volume = colors.normal // {
|
volume = colors.normal // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "VOL <label-volume> <ramp-volume>";
|
text = "<ramp-volume> <label-volume>";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
label.muted = {
|
label.muted = {
|
||||||
|
|
@ -254,10 +254,10 @@ in
|
||||||
"module/temperature" = {
|
"module/temperature" = {
|
||||||
format = colors.normal // {
|
format = colors.normal // {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "<label> <ramp>";
|
text = "<ramp> <label>";
|
||||||
warn = {
|
warn = {
|
||||||
padding = 1;
|
padding = 1;
|
||||||
text = "<label-warn> <ramp>";
|
text = "<ramp> <label-warn>";
|
||||||
underline = colors.alert;
|
underline = colors.alert;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue