Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
737 B

4 years ago
  1. #! /bin/sh
  2. estado=$(curl -s "wttr.in/?format=%C" )
  3. case $estado in
  4. Unknown) icon="";;
  5. Cloudy) icon="";;
  6. Fog) icon="";;
  7. "Heavy rain") icon="";;
  8. "Heavy showers") icon="";;
  9. "Heavy snow") icon="";;
  10. "Heavy snow showers") icon="";;
  11. "Light rain") icon="";;
  12. "Light showers") icon="";;
  13. "Light sleet") icon="";;
  14. "Light sleet showers") icon="";;
  15. "Light snow") icon="";;
  16. "Light snow showers") icon="";;
  17. "Partly cloudy") icon="";;
  18. "Sunny") icon="";;
  19. "Clear") icon="";;
  20. "Thundery heavy rain") icon="";;
  21. "Thundery showers") icon="";;
  22. "Thundery snow showers") icon="";;
  23. "Very cloudy") icon="";;
  24. esac
  25. echo $icon