Thank you my friend Elparguayo, it's working, you have been a great helper for me in this forum.
On Wednesday, December 16, 2020 at 7:57:20 a.m. UTC-5 elParaguayo wrote: > If you can import owm ok then just add the "owm.OpenWeatherMap(..." bit > into your list of widgets . > > On Wed, 16 Dec 2020, 12:08 Joe Yabuki, <[email protected]> wrote: > >> >> Hello guys >> I'm using yahoo weather widget, but I realized that it's not accurate at >> all. Today it's -18 (-24 with the wind chill) here in Montreal, but the >> widget shows -10. >> I looked and found this widget on github >> https://github.com/sffjunkie/qtile-openweathermap >> the problem I don't understand how to set it up! I copied the owm.py to >> my qtile config and added : import owm then I modified : >> ww = owm.OpenWeatherMap( >> api_key="xxxxxxxxxxxxxxxxxxxxxxxxxxx", >> latitude=45.489, >> longitude=-73.82, >> icon_font="Material Design Icons", >> ) >> top_bar.append(ww) >> the question of how do I add this as a widget, because I pasted this to >> my config, but it doesn't work!(syntax error) >> Thanks in advance >> >> -- >> You received this message because you are subscribed to the Google Groups >> "qtile-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/qtile-dev/7bd7e5a1-5144-4bf1-a09e-cbcc642baa3cn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/qtile-dev/7bd7e5a1-5144-4bf1-a09e-cbcc642baa3cn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/f1b1c8d3-e8f9-45e4-bbae-99c93c379a33n%40googlegroups.com.
