Merge branch 'master' of github.com:streetturtle/awesome-wm-widgets

This commit is contained in:
Pavel Makhov 2019-02-26 11:17:07 -05:00
commit b33275fa2a
4 changed files with 10 additions and 3 deletions

View File

@ -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)

BIN
awesome-o.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
awesome.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

View File

@ -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',