xmobar: use the ens-forecast brief subcommand
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user