polybar: adjust foreground color of cpu and memory usage (only for buzz)
This commit is contained in:
parent
b4d8d52270
commit
514c71a5f9
@ -202,6 +202,9 @@ label-visible-padding = 1
|
|||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
interval = 1
|
interval = 1
|
||||||
format-underline = ${colors.primary}
|
format-underline = ${colors.primary}
|
||||||
|
{{ if eq .chezmoi.hostname "buzz" }}
|
||||||
|
format-foreground = ${colors.foreground-alt}
|
||||||
|
{{ end }}
|
||||||
label = %percentage:2%%
|
label = %percentage:2%%
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
@ -209,6 +212,9 @@ type = internal/memory
|
|||||||
interval = 1
|
interval = 1
|
||||||
format-underline = #32bbc2
|
format-underline = #32bbc2
|
||||||
label = %percentage_used:2%%
|
label = %percentage_used:2%%
|
||||||
|
{{ if eq .chezmoi.hostname "buzz" }}
|
||||||
|
format-foreground = ${colors.foreground-alt}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
[module/eth-up]
|
[module/eth-up]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
|
Loading…
Reference in New Issue
Block a user