ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit 1dc48ba48b1e2b4ec2f96943c0b11dacc6c82a0f
parent 7ccd01ab58a78fa8fe9bc34487efcf7856be5435
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 16 Feb 2017 13:06:03 +0100

Make wind direction customizable (Close #108)

Diffstat:
Mansiweather | 2+-
Mansiweatherrc.example | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ansiweather b/ansiweather @@ -221,7 +221,7 @@ fi ###[ Process Wind data ]####################################################### -set -- N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW +set -- $(get_config "wind_directions" || echo "N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW") if [ "$forecast" = 0 ] then diff --git a/ansiweatherrc.example b/ansiweatherrc.example @@ -26,6 +26,7 @@ humidity_text:Humidity pressure_text:Pressure sunrise_text:Sunrise sunset_text:Sunset +wind_directions:N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW wind_text:Wind # Icons