Compare commits

..

2 commits

Author SHA1 Message Date
ee8ae4f69e
use vendorHash instead of vendorSha256 2024-03-30 13:13:01 -04:00
2246ce2ebe
use nerdfonts icons 2023-01-01 11:15:05 -05:00
2 changed files with 9 additions and 9 deletions

View file

@ -48,7 +48,7 @@
# remeber to bump this hash when your dependencies change.
#vendorSha256 = pkgs.lib.fakeSha256;
vendorSha256 = "sha256-7/0f6ylFf+znadofLfvaV+llfHjf4qdelGwqKilHiZ4=";
vendorHash = "sha256-7/0f6ylFf+znadofLfvaV+llfHjf4qdelGwqKilHiZ4=";
};
});

16
main.go
View file

@ -73,25 +73,25 @@ func weatherIcon(desc string) string {
case containsOf(d, "clear", "sunny"):
return ""
case containsOf(d, "partly cloudy", "clouds"):
return ""
return ""
case containsOf(d, "cloudy"):
return ""
return ""
case containsOf(d, "overcast"):
return ""
return ""
case containsOf(d, "mist", "fog", "haze"):
return ""
return ""
case containsOf(d, "patchy rain", "drizzle", "light rain"):
return ""
return ""
case containsOf(d, "thunder"):
return ""
case containsOf(d, "freezing", "sleet", "hail", "ice"):
return ""
return ""
case containsOf(d, "rain"):
return ""
return ""
case containsOf(d, "blizzard", "heavy snow"):
return ""
case containsOf(d, "snow"):
return ""
return ""
default:
return ""
}