21 lines
692 B
Markdown
21 lines
692 B
Markdown
---
|
|
layout: page
|
|
---
|
|
|
|
# Weather widget
|
|
|
|
![Weather Widget](https://github.com/streetturtle/AwesomeWM/blob/master/weather-widget/weather-widget.png?raw=true)
|
|
|
|
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
|
|
{% highlight bash %}
|
|
$ sudo apt-get install lua-socket
|
|
{% endhighlight %}
|
|
|
|
- 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) |