mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-06-15 20:25:13 +02:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user