commit 67d47b1308bf009d9da30666fb939738157b57ae
parent 3f9713cc932975f0442b0b658a49edbbc5febea3
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Sun, 12 Jan 2014 15:28:56 -0800
Merge pull request #45 from thirota/mist
Adding Mist and Haze icons
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/ansiweather b/ansiweather
@@ -129,6 +129,8 @@ moon=$(get_config "moon" || echo "\033[36m\xe2\x98\xbd")
clouds=$(get_config "clouds" || echo "\033[37;1m\xe2\x98\x81")
rain=$(get_config "rain" || echo "\xe2\x98\x94")
fog=$(get_config "fog" || echo "\033[37;1m\xe2\x96\x92")
+mist=$(get_config "mist" || echo "\033[37;1m\xe2\x96\x91")
+haze=$(get_config "haze" || echo "\033[37m\xe2\x96\x91")
snow=$(get_config "snow" || echo "\033[37;1m\xe2\x9d\x84")
thunderstorm=$(get_config "thunderstorm" || echo "\xe2\x9a\xa1")
@@ -278,6 +280,12 @@ function get_icon {
Fog)
echo "$fog "
;;
+ Mist)
+ echo "$mist "
+ ;;
+ Haze)
+ echo "$haze "
+ ;;
Snow)
echo "$snow "
;;
diff --git a/ansiweatherrc.example b/ansiweatherrc.example
@@ -23,5 +23,7 @@ moon:\033[36m\xe2\x98\xbd
clouds:\033[37;1m\xe2\x98\x81
rain:\xe2\x98\x94
fog:\033[37;1m\xe2\x96\x92
+mist:\033[37;1m\xe2\x96\x91
+haze:\033[37m\xe2\x96\x91
snow:\033[37;1m\xe2\x9d\x84
thunderstorm:\xe2\x9a\xa1