rkowalewski / weather-block

Gets weather from OpenWeatherMap.org and displays its output in a compatible format for i3blocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How it looks...

Weather Block

Requirements

  1. Node and NPM
  2. Latest FontAwesome installed.

Installation

  1. Clone the repo
  2. Edit weather.js and add your API key and Zipcode to the specified variables.
  3. Run npm install
  4. Reference the shell script weather in your i3blocks.conf file.
  5. Restart i3blocks. Should be all set!

Example section in i3blocks.conf

[weather]
command=~/scripts/weather
interval=1800

About

Gets weather from OpenWeatherMap.org and displays its output in a compatible format for i3blocks


Languages

Language:JavaScript 93.9%Language:Shell 6.1%