Commit Graph

79 Commits

Author SHA1 Message Date
streetturtle 7df447fb50 externalize config for weather widget 2019-05-03 21:46:49 -04:00
Aurélien LAJOIE f19362afdf [weather] Check if the response is not null before decoding it.
With network glitch you can have sometimes empty answer, this was
triggering an exception.
2019-02-20 14:36:41 +01:00
streetturtle 86ab5aea40
Update README.md 2019-01-29 15:55:56 -05:00
streetturtle 19452f0d53
Update README.md 2019-01-29 15:55:30 -05:00
streetturtle 94fdab6292
Update README.md 2019-01-29 15:47:27 -05:00
Pavel Makhov d198207ee2 Make temperature units customizable using the secrets.lua 2019-01-29 14:59:09 -05:00
streetturtle d767e3b8de
Update README.md 2019-01-26 23:00:31 -05:00
Pavel Makhov ee396d7c5b add error handling to weather widget 2019-01-26 22:54:49 -05:00
Pavel Makhov 15e6d0fcd9 store api keys and client settings in secrets.lua 2019-01-25 22:26:16 -05:00
streetturtle 472d03be0e small refactoring 2018-10-08 11:48:48 -04:00
Sviatoslav Sydorenko c5181829f5
Reimplement wind direction detection properly
Fixes #39

Ref: https://www.campbellsci.eu/blog/convert-wind-directions
2018-03-27 18:46:58 +02:00
Sviatoslav Sydorenko 77b50a21e6
Take into account case with an unset wind degrees
Fixes exception, which happens when comparing nil to a number
2018-03-22 09:46:46 +01:00
Sviatoslav Sydorenko 2e12e47eb1
Beautify pop-up code style 2018-03-21 19:18:11 +01:00
Sviatoslav Sydorenko 1381ea5275
Access weather API via HTTPS 2018-03-21 19:17:56 +01:00
Sviatoslav Sydorenko 5a5c9eb8f0
Read city and api key from env first
Corresponding env vars are:
* AWW_WEATHER_CITY
* AWW_WEATHER_API_KEY
2018-03-21 19:16:43 +01:00
streetturtle 968d9ba784 few small changes 2018-01-20 23:17:25 -05:00
streetturtle 04ca3d56f4 few small changes 2018-01-20 23:16:38 -05:00
Roger Welsh 824af2b0ae Added wind direction to weather.lua 2018-01-14 13:41:54 +13:00
pmakhov 128aec5ef7 externalize api key 2017-12-04 11:56:21 -05:00
Pavel Makhov 10ffee904f Few small improvements for weather widget 2017-06-05 21:14:51 -04:00
Pavel Makhov 8755d9edde Merge branch 'master' of https://github.com/streetturtle/AwesomeWM 2017-03-14 21:56:46 -04:00
Pavel Makhov 316be63c58 update screenshot 2017-03-14 21:56:27 -04:00
streetturtle d2632b5c75 More details to popup message 2017-03-14 21:53:18 -04:00
Pavel Makhov 332075a603 Start timer 2017-03-03 13:33:27 -05:00
Pavel Makhov b6458cbe0c fix weather widget crash with no internet connection 2017-02-18 13:02:03 -05:00
Pavel Makhov 622607c874 Update README.md 2017-02-12 20:58:50 -05:00
Pavel Makhov eba5fcb7a8 Update README.md 2017-02-08 09:51:21 -05:00
Pavel Makhov b1a4270c4d fix typos in lua doc 2017-02-08 08:56:51 -05:00
streetturtle 1e540af00b weather widget 2017-02-07 20:31:34 -05:00