From a652b894204dc8bc5e8a401f6f7e12dfdc34e7ce Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 25 Jun 2021 09:28:26 +0200 Subject: [PATCH] Fix polybar fonts + unique ramp --- modules/polybar.nix | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/polybar.nix b/modules/polybar.nix index b02fee7..c0431ad 100644 --- a/modules/polybar.nix +++ b/modules/polybar.nix @@ -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 = " "; + text = " "; }; discharging = colors.active // { padding = 1; - text = " "; + text = " "; }; full = colors.normal // { padding = 1; - text = " "; + text = " "; }; }; @@ -168,12 +168,12 @@ in "module/cpu" = { type = "internal/cpu"; format = colors.normal // { - text = "CPU