openweathermap-forecast: add configuration section

This commit is contained in:
x70b1 2018-07-15 18:21:02 +02:00
parent 5f384d5e8e
commit d40dc01e8c

View File

@ -4,6 +4,16 @@ A weather script that displays a weather forecast.
It shows icons and temperatures for the current weather and the 3 hour forecast.
## Dependencies
* [OpenWeatherMap-Key](https://openweathermap.org/appid)
* [weather-icons](https://github.com/erikflowers/weather-icons)
* `jq`
## Configuration
If `CITY` is left empty, the location is retrieved via the Mozilla Location API. An ID must be specified here. For example ID of Berlin is `2950159`.
Change these values:
@ -16,13 +26,6 @@ SYMBOL="°"
```
## Dependencies
* [OpenWeatherMap-Key](https://openweathermap.org/appid)
* [weather-icons](https://github.com/erikflowers/weather-icons)
* `jq`
## Module
```ini