Is a i3blocks blocklet script to output the current weather type and temperature.
- fonts-font-awesome
- python3
- pyowm
- i3 ( >= 4.3 )
- i3blocks ( >= 1.4 )
- Clone repo
- Add your
api_key
toweather.py
. If you dont have anapi_key
, get it here. - Copy
i3blocks.conf
contents into your i3blocks configuration file. - Replace
5128638
with your city ID. List of city ID city.list.json.gz can be downloaded here
[weather]
command=$SCRIPT_DIR/weather.py
markup=pango
instance=5128638
interval=3600