https://github.com/v1adhope/waybar-weather-indicator
https://github.com/v1adhope/waybar-weather-indicator
go waybar wayland wm wttr
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/v1adhope/waybar-weather-indicator
- Owner: v1adhope
- License: mit
- Created: 2023-01-06T21:14:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T20:01:57.000Z (4 months ago)
- Last Synced: 2025-02-11T21:21:54.240Z (4 months ago)
- Topics: go, waybar, wayland, wm, wttr
- Language: Go
- Homepage:
- Size: 46.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Usage
The indicator uses [wttr API](https://github.com/chubin/wttr.in)
By default used ip location. Set the environment variable `CITY_WEATHER` to override.
## Signs
`r` - rain
`s` - snow
## Sample
Updated every 30 minutes.
```
"custom/weather": {
"max-length": 15,
"return-type": "json",
"format": "WX:{}",
"exec": "$HOME/.config/waybar/scripts/weather",
"interval": 1800
}
```# Preview
