alexanderepstein / Bash-Snippets

A collection of small bash scripts for heavy terminal users
MIT License
9.64k stars 842 forks source link

More display options for weather #182

Closed dashdeckers closed 5 years ago

dashdeckers commented 5 years ago

Issue Label:

Description: An option to only show the weather forecast for tomorrow and only displaying the current weather would be really useful for an automatic setup (this would look great on a setup worthy of the unixporn subreddit). I have tried piping the output to more/less but it doesnt display nicely at all.
A less wide display with only 2 or 3 times of the day would also be great!

If its a bug make sure to include this section.

OS and OS version:

OS Version:

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

alexanderepstein commented 5 years ago

Not stale, just been busy I will see if I can do something like this, although it might be necessary for the wttr.in api to just support options for this

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

alexanderepstein commented 5 years ago

It actually seems that display options like that already do exist and although this was not the intent of the script it can already do this. For example if you type in weather Paris?0 you will only see the current weather. Replace the 0 with a 1 to see the breakdown for the day. You can also write it like weather Paris?0Q and that will remove the line "weather report for...". All of these options can be seen here