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
|
type = custom/script
|
||||||
interval = 5
|
interval = 5
|
||||||
exec = "echo "
|
exec = "echo "
|
||||||
exec-if = "systemctl is-active --quiet ansible-pull.service"
|
exec-if = "systemctl is-failed --quiet ansible-pull.service"
|
||||||
format-foreground = ${res/colors.yellow}
|
format-foreground = ${res/colors.red}
|
||||||
|
|
||||||
[module/service-backup]
|
[module/service-backup]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
interval = 5
|
interval = 5
|
||||||
exec = "echo "
|
exec = "echo "
|
||||||
exec-if = "systemctl is-active --quiet backup.service"
|
exec-if = "systemctl is-failed --quiet backup.service"
|
||||||
format-foreground = ${res/colors.yellow}
|
format-foreground = ${res/colors.red}
|
||||||
|
|
||||||
[module/wlan-laptop]
|
[module/wlan-laptop]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
|
Loading…
Reference in New Issue
Block a user