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