summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Makhov <pmakhov@touchtunes.com>2019-02-26 11:17:07 -0500
committerPavel Makhov <pmakhov@touchtunes.com>2019-02-26 11:17:07 -0500
commitb33275fa2aab2b0d753f2bfc8a5b7720a117b549 (patch)
treed4590b153c12082a52d9197d26a4a62c04ac29cb
parentce02f3bf7ed808de766b34e17f19f2ad4ef15c99 (diff)
parent737d8bcebd5705f38ef0aeb6b884e722761c4903 (diff)
Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets
-rw-r--r--README.md11
-rw-r--r--awesome-o.pngbin0 -> 1301 bytes
-rw-r--r--awesome.pngbin0 -> 580 bytes
-rw-r--r--weather-widget/weather.lua2
4 files changed, 10 insertions, 3 deletions
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
-
+<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
new file mode 100644
index 0000000..424d008
--- /dev/null
+++ b/awesome-o.png
Binary files differ
diff --git a/awesome.png b/awesome.png
new file mode 100644
index 0000000..6960955
--- /dev/null
+++ b/awesome.png
Binary files 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',