awesome-wm-widgets/_widgets/weather-widget.md

21 lines
632 B
Markdown
Raw Normal View History

---
layout: page
---
# Weather widget
2018-09-20 01:59:07 +02:00
![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
2018-09-15 23:33:42 +02:00
```bash
$ sudo apt-get install lua-socket
2018-09-15 23:33:42 +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)