Polybar: Only show indicators for failed ansible-pull and backup
This commit is contained in:
parent
e710f068b2
commit
b1eb8798f8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user