Add a few icon options (still need a comprehensive list)

This commit is contained in:
John Mertz 2022-09-23 18:19:51 -04:00
parent a146b0c199
commit 9d69a634cb
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
1 changed files with 9 additions and 0 deletions

View File

@ -11,7 +11,16 @@ if (defined($ARGV[0])) {
my $url = "https://john.me.tz/weather/weather.json";
my %icons = (
'01d' => "☀",
'01n' => "☾",
'02d' => "☁",
'02n' => "☁",
'03d' => "☁",
'03n' => "☁",
'04d' => "☁",
'04n' => "☁",
'10d' => "🌧",
'10n' => "🌧",
);
use LWP::UserAgent;
my $ua = LWP::UserAgent->new();