diff --git a/.tmux.conf.local b/.tmux.conf.local index fb77d04..76065ec 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -415,9 +415,9 @@ tmux_conf_uninstall_plugins_on_reload=true # # # /!\ do not "uncomment" the functions: the leading "# " characters are needed # -# weather() { -# curl -m 1 wttr.in?format=3 2>/dev/null -# sleep 900 # sleep for 15 minutes, throttle network requests whatever the value of status-interval +# weather() { # see https://github.com/chubin/wttr.in#one-line-output +# curl -f -s -m 2 'wttr.in?format=3' || printf '\n' # /!\ make sure curl is installed +# sleep 900 # sleep for 15 minutes, throttle network requests whatever the value of status-interval # } # # online() {