diff options
author | Pavel Makhov <pmakhov@touchtunes.com> | 2019-02-26 11:17:07 -0500 |
---|---|---|
committer | Pavel Makhov <pmakhov@touchtunes.com> | 2019-02-26 11:17:07 -0500 |
commit | b33275fa2aab2b0d753f2bfc8a5b7720a117b549 (patch) | |
tree | d4590b153c12082a52d9197d26a4a62c04ac29cb | |
parent | ce02f3bf7ed808de766b34e17f19f2ad4ef15c99 (diff) | |
parent | 737d8bcebd5705f38ef0aeb6b884e722761c4903 (diff) |
Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | awesome-o.png | bin | 0 -> 1301 bytes | |||
-rw-r--r-- | awesome.png | bin | 0 -> 580 bytes | |||
-rw-r--r-- | weather-widget/weather.lua | 2 |
4 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,12 @@ -# Awesome WM widgets - +<p align="center"> + <img src="https://github.com/streetturtle/awesome-wm-widgets/raw/master/awesome-o.png" alt="logo" style="max-width:100%;"> +</p> + +<p align="center"> + <img src="https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg"> + <img src="https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg"> +</p> + 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 Binary files differnew file mode 100644 index 0000000..424d008 --- /dev/null +++ b/awesome-o.png diff --git a/awesome.png b/awesome.png Binary files differnew file mode 100644 index 0000000..6960955 --- /dev/null +++ b/awesome.png 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', |