diff --git a/.config/polybar/config b/.config/polybar/config index cb81ef82..1843f25a 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -242,15 +242,15 @@ format-foreground = ${res/colors.yellow} type = custom/script interval = 5 exec = "echo " -exec-if = "systemctl is-active --quiet ansible-pull.service" -format-foreground = ${res/colors.yellow} +exec-if = "systemctl is-failed --quiet ansible-pull.service" +format-foreground = ${res/colors.red} [module/service-backup] type = custom/script interval = 5 exec = "echo " -exec-if = "systemctl is-active --quiet backup.service" -format-foreground = ${res/colors.yellow} +exec-if = "systemctl is-failed --quiet backup.service" +format-foreground = ${res/colors.red} [module/wlan-laptop] type = internal/network