21 lines
632 B
Markdown
21 lines
632 B
Markdown
---
|
|
layout: page
|
|
---
|
|
# Weather widget
|
|
|
|
![Weather Widget]({{'/assets/img/screenshots/weather-widget.png' | relative_url }})
|
|
|
|
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)
|