ansiweather

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

commit 34d7874cfa04070f9848cc87d73de86184032579
parent 63b0bc651f52307eaa68ce2a7ca4ab6b5d1b09f7
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Tue,  8 Sep 2015 22:25:43 +0200

Restoring trailing whitespace after output

Diffstat:
Mansiweather | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ansiweather b/ansiweather @@ -134,6 +134,8 @@ auto_locate() { fi } + + ###[ Set options that are not set from command line ]########################## # Location : example "Moscow,RU" @@ -176,6 +178,7 @@ sunrise_text=$(get_config "sunrise_text" || echo "Sunrise") sunset_text=$(get_config "sunset_text" || echo "Sunset") + ###[ Unicode Symbols for icons ]############################################### sun=$(get_config "sun" || echo "\033[33;1m\xe2\x98\x80") @@ -406,11 +409,11 @@ else then icon="$(get_icon "$sky")" fi - output="$background$text $greeting_text $city $delimiter$data $temperature $scale $icon$dashes$text $wind_text $delimiter$data $wind $speed_unit $direction $dashes$text $humidity_text $delimiter$data $humidity %% $dashes$text $pressure_text $delimiter$data $pressure $pressure_unit" + output="$background$text $greeting_text $city $delimiter$data $temperature $scale $icon$dashes$text $wind_text $delimiter$data $wind $speed_unit $direction $dashes$text $humidity_text $delimiter$data $humidity %% $dashes$text $pressure_text $delimiter$data $pressure $pressure_unit " if [ "$daylight" = true ] then - output="$output $dashes$text $sunrise_text $delimiter$data $sunrise_time $dashes$text $sunset_text $delimiter$data $sunset_time" + output="$output $dashes$text $sunrise_text $delimiter$data $sunrise_time $dashes$text $sunset_text $delimiter$data $sunset_time " fi fi