-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location for weather #1
Comments
Yeah, would be great to add autolocation finding too. I just cobbled this together, its silly how hard in linux it is to find a location now. This uses your ip to find your WOEID. Just place this in a file like whereami, chmod u+x whereami And then you should be good to go. I will now try to add this to your conky script.
Nextcreate something like;
In the conkyrc script, replace the line:
with:
|
Ok, figured it out. That should get pretty close to your location, and all depends upon you having a web connection which the weather requires anyway...and, no need for an API key. |
Do you want a patch to this? I found another bug in your greps too... |
@rejon, thank you for your suggestions. |
I did like that, but not perfect woeid is no presice could be inexacta location. |
Hi zenzire,
You may know the w for weather location from:
http://weather.yahooapis.com/forecastrss?**w=493776**&u=c
It will be great if you add some note on README.md for how to change a location from this site https://weather.yahoo.com/
Regards,
Young
The text was updated successfully, but these errors were encountered: