diff --git a/modules/desktop/bspwm/polybar.nix b/modules/desktop/bspwm/polybar.nix index ff1afd0..7a33e59 100644 --- a/modules/desktop/bspwm/polybar.nix +++ b/modules/desktop/bspwm/polybar.nix @@ -13,27 +13,24 @@ in { done ''; config = with config.scheme.withHashtag; { - "global/wm" = { margin-top = 5; }; "bar/bottom" = { # position monitor = "\${env:MONITOR}"; bottom = true; - width = "100%:-20"; - heigth = 25; + width = "100%"; + heigth = 20; + background = base00; foreground = base05; - radius = 10; - offset-x = 10; - offset-y = 5; - padding = 1; - line-size = 3; - line-color = base06; + border-size = 5; + border-color = base00; - module-margin = 1; - separator = "%{F${base03}}◆%{F-}"; + separator = " "; - font-0 = "FiraCode Nerd Font:size=10;0"; + font-0 = "FiraCode Nerd Font:size=9;0"; + font-1 = "FiraCode Nerd Font:size=9;1"; + font-2 = "FiraCode Nerd Font:size=9;2"; modules-left = "cpu memory network battery"; modules-center = "bspwm"; @@ -53,11 +50,9 @@ in { adapter = "ACAD"; time-format = "%H:%M"; - format-charging = - "%{F${base0B}}%{F-} "; - format-discharging = - "%{F${base08}}%{F-} "; - format-full = "%{F${base08}} %{F-} "; + format-charging = " "; + format-discharging = " "; + format-full = " "; label-charging = "%percentage%% %time% remaining"; label-discharging = "%percentage%% %time% remaining"; @@ -105,16 +100,17 @@ in { "module/cpu" = { type = "internal/cpu"; interval = 2; + format = "