Skip to content

Nyxnix/yet-another-i3-blocks-weather-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Yet-another-i3-blocks-weather-block

Simple script that utilizes the AccuWeather API for displaying the current weather status.

alt text

Dependencies

python3

Installation

  • Clone this repo into your i3blocks/scripts directory
  • Create an account and get your api key https://developer.accuweather.com/
  • Run the script once to create config.json
  • Put your API key in config.json

Note

The free tier of accuweather is limited to 50 calls/day and 1 key/developer. This is why the script executes every 1728 seconds (28.8 minutes)

Usage

Add these lines to your i3blocks config file

[WEATHER]
command=$SCRIPT_DIR/yet-another-i3-blocks-weather-block/yaibwb
interval=1728

About

Yet another i3 blocks weather block

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages