Commit Graph

49 Commits

Author SHA1 Message Date
streetturtle 57ba8050b7
Update README.md 2020-08-15 20:19:17 -04:00
NBKelly 7aa9550c26
Remove doubled temperature line
this line was doubled, but was barely noticable because (in my case, and the demo case) the text almost matched the background
2020-08-15 22:21:51 +12:00
Neville Li 28f6391227 adjust weather widget fonts 2020-07-26 11:52:16 -04:00
Sviatoslav Sydorenko c64243d23b
Special-case curl error 18 in widget too 2020-07-19 18:45:08 +02:00
Sviatoslav Sydorenko f507a2c43f
Special-case a curl connection timeout @ widget
This is a follow-up for #169.
2020-07-16 10:46:02 +02:00
streetturtle 3e189049e1 [weather-widget] remove trailing comma 2020-07-14 10:52:28 -04:00
streetturtle 3b7311a948
Merge pull request #169 from webknjaz/bugfixes/167-curl-err-52
🚨 Don't show a warning on faulty network
2020-07-14 10:34:57 -04:00
Sviatoslav Sydorenko 088a4694e8
🚨 Don't show a warning on faulty network
Ref #167
2020-07-14 10:00:20 +02:00
Sviatoslav Sydorenko a1ebd2af6c
Decrease weather update frequency to 2 minutes
Ref #167
2020-07-14 09:49:18 +02:00
streetturtle 72b4a2d4ca
Update README.md 2020-07-13 14:20:20 -04:00
streetturtle bcbde507eb [weather] fix #161 + redesign with breaking change 2020-07-12 17:36:28 -04:00
Aurélien LAJOIE 92e411da97 Display the notification on the current screen 2020-04-15 19:00:10 +02:00
Aurélien LAJOIE efc2131442 [weather] Add delay between retry
Having an error message every minute is painful, double time to 15 min.
Reset to 1min in case of success.
2020-02-07 21:11:29 +01:00
Pavel Makhov 7403bdb0f6 gerrit widget 2019-09-22 22:44:50 -04:00
Aurélien LAJOIE e154daa8b6 [Weather] Add option to set the position of the notification 2019-09-18 01:31:26 +02:00
Aurélien LAJOIE 59ce0053ac Catch error is the answer is not a valid json string
This was triggered by a public wifi pushing an html file to all request
2019-09-18 01:27:22 +02:00
blix4 7997625cdc fix after applying blix4's commit 2019-09-03 21:21:49 -04:00
Sviatoslav Sydorenko b41daeb9b2 Query weather with async timeouts
Fixes #81
2019-09-02 15:45:17 -04:00
Pavel Makhov 434cdae5e2 pr #84 2019-07-11 13:31:46 -04:00
streetturtle cb394af13a update readme of weather widget 2019-05-04 21:03:13 -04:00
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