polybar: adjust foreground color of cpu and memory usage (only for buzz)

This commit is contained in:
inkch 2024-03-15 15:36:38 +09:00
parent b4d8d52270
commit 514c71a5f9

View File

@ -202,6 +202,9 @@ label-visible-padding = 1
type = internal/cpu
interval = 1
format-underline = ${colors.primary}
{{ if eq .chezmoi.hostname "buzz" }}
format-foreground = ${colors.foreground-alt}
{{ end }}
label = %percentage:2%%
[module/memory]
@ -209,6 +212,9 @@ type = internal/memory
interval = 1
format-underline = #32bbc2
label = %percentage_used:2%%
{{ if eq .chezmoi.hostname "buzz" }}
format-foreground = ${colors.foreground-alt}
{{ end }}
[module/eth-up]
type = internal/network