xmobar: use the ens-forecast brief subcommand

This commit is contained in:
Daniele Fucini committed 2026-11-10 18:52:46 +01:00
1 parent 7aa423b6d6
commit f6015f8d98
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ declare -A LABEL=([ncep_gefs025]=GEFS [icon_seamless_eps]=ICON [google_weatherne
pick() {
local m l head first="" first_model="" err=""
for m in "${MODELS[@]}"; do
if ! l=$(ens-forecast --brief "$1" --model "$m" 2>&1); then
if ! l=$(ens-forecast brief "$1" --model "$m" 2>&1); then
[[ -z $err ]] && err=$l
continue
fi