rtsn / weatheri3blocks

Weather for i3blocks written in python parsing wttr.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weatheri3blocks

Minimalistic weather block for i3blocks written in python.

This is a small python script to parse some basic weather information from wttr.in and output the data in pretty colors with fontawesome icons.

image

Requirements, configuration and installation

To use this script you only need python3 and fontawesome. Download w.py and colortrans.py and add a block

[weather]
markup=pango
separator=true
command=python3 ~/code/python/weatheri3blocks/w.py kiev
interval=900

in your ~/.config/i3blocks/config.

Btw, the colortrans.py module is completely stolen from MicahElliott.

About

Weather for i3blocks written in python parsing wttr.in

License:GNU General Public License v3.0


Languages

Language:Python 100.0%