From f19362afdfc248f96c3513b7be1d6b22bcae75e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20LAJOIE?= Date: Wed, 20 Feb 2019 14:24:36 +0100 Subject: [PATCH 1/8] [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. --- weather-widget/weather.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', From 98bcfd09d3dd894fbfb0f5c005aeb3cba67e8a59 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 24 Feb 2019 08:57:37 -0500 Subject: [PATCH 2/8] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84915bc..5160147 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Awesome WM widgets - + +![stars](https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg) +![forks](https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg) + Set of super simple widgets compatible with Awesome Window Manager v.4+. ![screenshot](./screenshot.png) From 2400807c896aa035da3138864f2fb3ad173a2734 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 24 Feb 2019 09:24:33 -0500 Subject: [PATCH 3/8] awesome logo --- awesome.png | Bin 0 -> 580 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 awesome.png diff --git a/awesome.png b/awesome.png new file mode 100644 index 0000000000000000000000000000000000000000..6960955bba4b5d307319d0d2451f8c687473caa4 GIT binary patch literal 580 zcmeAS@N?(olHy`uVBq!ia0y~yU_1n5+iYttN#5=*4F5rJ!QSPQfg+p* z9+AZi4BWyX%*Zfnjs#GUy~NYkmHjc31fK-=8oOq9ppayVYeb22er|4RUI~M9QEFmI zYKlU6W=V#EyQgnJcq5-U(7rXEE{-7;x8B}0^gC=I((uqGhws3hgjQQ_<{rGv!XT~I!oZKc%AU%r|GY%b4>XyYZR2aG#O@|YkHO2 zeet#Z;aO3?d(ZMHoR56aE70I8?8ML_KpF~KsjPpky5BT!)7EVjA(d;k^4;0Kx52jb zyJAe@ Date: Sun, 24 Feb 2019 09:25:23 -0500 Subject: [PATCH 4/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5160147..19b639f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Awesome WM widgets +![logo](./awesome.png) ![stars](https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg) ![forks](https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg) From 3e92e76024114ea09148d0768d7ba2c6c4a24bd7 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 24 Feb 2019 09:32:26 -0500 Subject: [PATCH 5/8] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19b639f..3ef3107 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# Awesome WM widgets -![logo](./awesome.png) +

+ logo +

![stars](https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg) ![forks](https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg) From 3cf2ef50387848305052235d60f09deb7433eeb0 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 24 Feb 2019 15:29:14 -0500 Subject: [PATCH 6/8] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3ef3107..a2fc3ec 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,10 @@ logo

-![stars](https://img.shields.io/github/stars/streetturtle/awesome-wm-widgets.svg) -![forks](https://img.shields.io/github/forks/streetturtle/awesome-wm-widgets.svg) +

+ + +

Set of super simple widgets compatible with Awesome Window Manager v.4+. From 900983a4bfc9d6dec82b92056273818c3b8e80d7 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 24 Feb 2019 16:43:53 -0500 Subject: [PATCH 7/8] awesome-0 --- awesome-o.png | Bin 0 -> 1301 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 awesome-o.png diff --git a/awesome-o.png b/awesome-o.png new file mode 100644 index 0000000000000000000000000000000000000000..424d00849a589b1dccb448e42282c192d100bef8 GIT binary patch literal 1301 zcmeAS@N?(olHy`uVBq!ia0y~yU_1n5+iYttN#5=*4F5rJ!QSPQfg+p* z9+AZi4BWyX%*Zfnjs#GUy~NYkmHjc3gs8U2QN86rIR?oR*N775{M_8syb=cIqSVBa z)D(sC%#sWRcTeAd@J2py1_qW|PZ!6Kid%2*`e)Ax6*>N~_>A$&1i}AP-J)lR>=t&a z$m3eX`djMA+6RmB9b&HZ?$*20q3>YsbbTKicWjB__cVz+D=nIJw`eTlcKm!qM%*lA z)-(Q;cgA-<+uT3DY{Hb&GmGEb?w`5j@s2Z#<9mA-}JoZbxoO2>}yl4sJC{_nm-Q~#HF4-6?*;a_ode}((+eqEAN?e zXR%U?z&_K><@0tuShfF%#QMtmoa1wvXLhWaU$}R7(HD2Mxs|?YhYtFzIP)g&|9$5xl{ciL%r!LNZ{i^IUEj;Tv zg1yXTY>MZc(v(-|OlrH$9J=?~XEU2m1?#;onw*__GR4UD)#0_fi};FcxBV>Mx^d%1 zI|-hB$!aMahjy*Yx5{|()2x0@>zeZn|9cJXUj3Zh_*w2f+W9Su`l zys$m}o1t6o$4C3Ml;qxtI&!2n$^1#4Y47rc`x`g+KB1~N4{p9>&HSG0Jm2!hDu0(J zsvzC}&$s+l_+xymVs`Ffr68~DrPptKdq3Ou&SHT>zD)vWTAF7bkbcF;u-8q1i2)Qf z#Nu5GPi^#wy*^)m@r@~$mgh*`N=eh#e{EAN-oVGYaMiu2puI8wny!|C{UN^_|`|ZGlcsKds?c2A@z1C0M&5-7F&{0DvyEOLx>Btzb zm%BFep1;?;^XoMmlLKeMwr|^J=DohyM5@>SMd`)#HQB*M1`>Z{oD}q|P963+A=&ag zE_RlHugYF}R3Z8@*6_p;xId@VPwu6dEY|I*BJZ;L+~D|!o<`4+2wHa=3V zRCMxkn*7z~t5>hyW#v2nb?)4`r-J#`qTi+%BD zwWGMP;^_r*ebg?`X>AoK+nZbQPOisoG5fu$2|>SBe35eIF!$p;boWj*=a;F|$&Lvj zLBq|b6 Date: Sun, 24 Feb 2019 16:44:42 -0500 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a2fc3ec..c873e6a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

- logo + logo