Remplace ta ligne par celle-ci (je sais c'est un peu long) :
${offset 15}Visibilité : ${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} <=0.5} Brouillard $endif ${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} <=2}${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} >0.5} Mauvaise $endif$endif ${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} <=5}${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} >2} Médiocre $endif$endif ${if_match ${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "visibility=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} >5} Bonne $endif
Il faudra voir à l'usage si cela fonctionne dans tous les cas.
Je pense qu'il doit y avoir un code plus court, mais cela dépasse un peu mes compétences.