diff --git a/desktop-gruvbox/.config/polybar/config b/desktop-gruvbox/.config/polybar/config index 13f0de66..319babcc 100644 --- a/desktop-gruvbox/.config/polybar/config +++ b/desktop-gruvbox/.config/polybar/config @@ -98,7 +98,7 @@ bar-indicator = ${res/config.bar-indicator} type = internal/battery full-at = 100 time-format = %H:%M -interval = 15 +interval = 60 format-charging = format-charging-foreground = ${res/colors.green} @@ -254,20 +254,21 @@ format-muted-foreground = ${res/colors.border} [module/reboot-required] type = custom/script +interval = 300 exec = "echo Reboot required" exec-if = "[ -f /var/run/reboot-required ]" format-foreground = ${res/colors.yellow} [module/service-ansible] type = custom/script -interval = 5 +interval = 300 exec = "echo " exec-if = "systemctl is-failed --quiet ansible-pull.service" format-foreground = ${res/colors.red} [module/service-backup] type = custom/script -interval = 5 +interval = 300 exec = "echo " exec-if = "systemctl is-failed --quiet backup.service" format-foreground = ${res/colors.red}