Weather indicator for Waybar using Open-Meteo.com
- main indicator: weather icon and temperature
- tooltip: wind speed, humidity, cloud coverage
--latfloat, Location latitude (example: 52.52), required--lonfloat, Location longitude (example: 13.41), required--units-temperatureTemperature units, default:celsius. Valid values:celsius,fahrenheit--units-wind-speedWind speed units, default:kmh. Valid values:kmh,ms,mph,kn--units-precipitationPrecipitation units, default:mm. Valid valuesmm,inch
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",
},- 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.
Waybar is licensed under the MIT license. See LICENSE for more information.