Skip to content

Latest commit

 

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STORMWIND

Weather indicator for Waybar using Open-Meteo.com

Features

  • main indicator: weather icon and temperature
  • tooltip: wind speed, humidity, cloud coverage

CLI usage

  • --lat float, Location latitude (example: 52.52), required
  • --lon float, Location longitude (example: 13.41), required
  • --units-temperature Temperature units, default: celsius. Valid values: celsius, fahrenheit
  • --units-wind-speed Wind speed units, default: kmh. Valid values: kmh, ms, mph, kn
  • --units-precipitation Precipitation units, default: mm. Valid values mm, inch

Installation

Waybar config

Assuming that stormwind is in your path:

"custom/stormwind": {
    "exec": "stormwind --lat xx --lon yy",
    "interval": 600,
    "return-type": "json",
    "exec-if":  "wget -q --spider https://google.com",
    },

FAQ

  • Can it be used with Polybar/other status bars?

Yes, jq can be used to extract data from output, ie. stormwind --lat xx --lon yy | jq -r '.text'

  • I would like to have more data displayed in main indicator / tooltip

Please create issue. I'm open to suggestion.

License

Waybar is licensed under the MIT license. See LICENSE for more information.

About

Weather indicator plugin for Waybar/Polybar

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages