Lightweight dual‑provider weather script for Waybar (Open‑Meteo + wttr.in, no extra deps) #4942
jimishol
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
This is really clean and well designed, especially the zero-dependency approach and fallback logic. I tested it locally and it works nicely with Waybar. One small idea: maybe adding a simple cache (like 30–60 seconds) could reduce API calls and improve efficiency. Really nice work overall. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve built a small, dependency‑free weather script that integrates cleanly with Waybar, and I’m sharing it here in case it’s useful to others.
It’s a POSIX shell script that uses two providers:
with strict provider separation, explicit fallback logic, and clear error signaling.
Waybar integration
Design goals
curl+ standard tools)Repo
https://github.com/jimishol/weather-cli-dualprovider
There’s a Waybar config example and a screenshot in the README.
Feel free to adapt or modify it for your setup.
Beta Was this translation helpful? Give feedback.
All reactions