diff --git a/README.md b/README.md index 84915bc..c873e6a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ -# Awesome WM widgets - +
+ +
+ ++ + +
+ Set of super simple widgets compatible with Awesome Window Manager v.4+. ![screenshot](./screenshot.png) diff --git a/awesome-o.png b/awesome-o.png new file mode 100644 index 0000000..424d008 Binary files /dev/null and b/awesome-o.png differ diff --git a/awesome.png b/awesome.png new file mode 100644 index 0000000..6960955 Binary files /dev/null and b/awesome.png differ diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua index 484c2c6..d5f07f8 100644 --- a/weather-widget/weather.lua +++ b/weather-widget/weather.lua @@ -97,7 +97,7 @@ weather_timer:connect_signal("timeout", function () .. secrets.weather_widget_city .. '&appid=' .. secrets.weather_widget_api_key .. '&units=' .. secrets.weather_widget_units) - if (status ~= 200) then + if (status ~= 200 and resp_json ~= nil) then local err_resp = json.decode(resp_json) naughty.notify{ title = 'Weather Widget Error',