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 0fab30cc8e
commit 6d2e0b8a3d
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();