From 514c71a5f9803e996640f9f49b8b21aeb7e8a4f3 Mon Sep 17 00:00:00 2001 From: inkch Date: Fri, 15 Mar 2024 15:36:38 +0900 Subject: [PATCH] polybar: adjust foreground color of cpu and memory usage (only for buzz) --- dot_config/polybar/config.ini.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dot_config/polybar/config.ini.tmpl b/dot_config/polybar/config.ini.tmpl index ce0485e..88d6222 100644 --- a/dot_config/polybar/config.ini.tmpl +++ b/dot_config/polybar/config.ini.tmpl @@ -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