kautsig / org-weather

Weather forecast for the org-mode agenda.
MIT License
28 stars 9 forks source link

Add weather icon graphic #1

Open mankoff opened 10 years ago

mankoff commented 10 years ago

As with the original Org weather, a graphic would be nice

kautsig commented 10 years ago

Thx for the feedback. This is actually on my list, I have to work out a mapping between the icon code I get from the API to system icons (e.g. gnome stock icons). Additionally this must be overridable by the user to use custom icons, or icons on a non-linux system.

mankoff commented 10 years ago

Maybe you can use the website icons? That would be platform agnostic. Or some 3rd party site like: https://erikflowers.github.io/weather-icons/

toupeira commented 8 years ago

You could also use Unicode glyphs as a fallback:

2600 ☀  Black Sun With Rays
        = clear weather
        → 2609 ☉ sun
        → 1F506 🔆 high brightness symbol

2601 ☁  Cloud
        = cloudy weather

2602 ☂  Umbrella
        = rainy weather
        → 1F302 🌂 closed umbrella

2603 ☃  Snowman
        = snowy weather

2614 ☔  Umbrella With Rain Drops
        = showery weather

263C ☼  White Sun With Rays
        = compass
        → 2609 ☉ sun
        → 1F323 🌣 white sun
        → 1F506 🔆 high brightness symbol

26A1 ⚡  High Voltage Sign
        = thunder
        = lightning symbol
        → 1F5F2 🗲 lightning mood

26C4 ⛄ Snowman Without Snow
        = light snow

26C5 ⛅ Sun Behind Cloud
        = partly cloudy
        → 1F324 🌤 white sun with small cloud

26C6 ⛆ Rain
        = rainy weather

26C7 ⛇ Black Snowman
        = heavy snow

26C8 ⛈ Thunder Cloud And Rain
        = thunderstorm
        → 1F329 🌩 cloud with lightning