From cb84b149a3686017d2fda54af4f8b07681a765db Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Sun, 7 Sep 2025 14:30:07 +0200 Subject: [PATCH] fix(waybar-modules): update module waits for a minute before trying to check if update are available. In this way we have some time to wait for a connection to become available --- .config/waybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/waybar/config b/.config/waybar/config index 9c66619..cc261ef 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -19,7 +19,7 @@ "format": "{text} ", "interval": 3600, // every hour "exec": "checkupdates | wc -l", // # of updates - "exec-if": "[ $(checkupdates | wc -l) -gt 100 ]", + "exec-if": "sleep 60 && [ $(checkupdates | wc -l) -gt 100 ]", "on-click": "wezterm start -- zsh -c 'yay; pkill -SIGRTMIN+8 waybar'", "signal": 8, "tooltip-format": "{text} updates available",