18 lines
567 B
Markdown
18 lines
567 B
Markdown
|
# Weather widget
|
||
|
|
||
|
![Weather Widget](./weather-widget.png)
|
||
|
|
||
|
Note that widget uses the Arc icon theme, so it should be [installed](https://github.com/horst3180/arc-icon-theme#installation) first under **/usr/share/icons/Arc/** folder.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
- install lua socket
|
||
|
```bash
|
||
|
$ sudo apt-get install lua-socket
|
||
|
```
|
||
|
|
||
|
- download json parser for lua: https://github.com/rxi/json.lua
|
||
|
- get Open Weather Map app id here: https://openweathermap.org/appid
|
||
|
|
||
|
You can read how it works in more details [here](http://pavelmakhov.com/2017/02/weather-widget-for-awesome-wm)
|