ansiweather

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

commit b40dcd0a2a6d1549a535d180d6e6566bdf63d191
parent 2fd388df28f5df4ce0247bdd6b542c291fcae851
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Thu, 29 Oct 2015 18:08:06 +0100

Changed default city to Rzeszow, Poland

Diffstat:
MREADME.md | 8++++----
Mansiweather | 2+-
Mansiweatherrc.example | 2+-
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md @@ -70,7 +70,7 @@ Options are : Any configuration options may also be passed in as command line options : - ./ansiweather -k APIKEY -l Moscow,RU -u metric -s true -f 5 -d true + ./ansiweather -k APIKEY -l Rzeszow,PL -u metric -s true -f 5 -d true @@ -87,7 +87,7 @@ preferences. Example : `~/.ansiweatherrc` api_key:X1234567890 - location:Moscow,RU + location:Rzeszow,PL fetch_cmd:ftp -V -o - units:metric daylight:true @@ -101,9 +101,9 @@ country code. A list of country codes is available [here](http://www.statdns.com In case no location is specified, AnsiWeather will fallback to the default location. -Example : `Moscow,RU` +Example : `Rzeszow,PL` - location:Moscow,RU + location:Rzeszow,PL ### Fetch Command diff --git a/ansiweather b/ansiweather @@ -114,7 +114,7 @@ fi [ -z "$api_key" ] && api_key=$(get_config "api_key" || echo "85a4e3c55b73909f42c6a23ec35b7147") # Location : example "Moscow,RU" -[ -z "$location" ] && location=$(get_config "location" || echo "Moscow,RU") +[ -z "$location" ] && location=$(get_config "location" || echo "Rzeszow,PL") # System of Units : "metric" or "imperial" [ -z "$units" ] && units=$(get_config "units" || echo "metric") diff --git a/ansiweatherrc.example b/ansiweatherrc.example @@ -1,7 +1,7 @@ # .ansiweatherrc example showing all available options fetch_cmd:curl -sf -location:Moscow,RU +location:Rzeszow,PL units:metric forecast:0 daylight:false