2018-09-14 03:53:46 +02:00
---
layout: page
---
# Weather widget
2018-09-20 01:59:07 +02:00
![Weather Widget ]({{'/assets/img/screenshots/weather-widget.png' | relative_url }} )
2018-09-14 03:53:46 +02:00
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
2018-09-15 23:33:42 +02:00
```bash
2018-09-14 03:53:46 +02:00
$ sudo apt-get install lua-socket
2018-09-15 23:33:42 +02:00
```
2018-09-14 03:53:46 +02:00
- download json parser for lua: https://github.com/rxi/json.lua
- get Open Weather Map app id here: https://openweathermap.org/appid
2018-09-15 23:33:42 +02:00
You can read how it works in more details [here ](http://pavelmakhov.com/2017/02/weather-widget-for-awesome-wm )