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
This commit is contained in:
2025-09-07 14:30:07 +02:00
parent 17ecdc7389
commit cb84b149a3

View File

@@ -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",