1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: openweathermap tool and i3status block

This commit is contained in:
2021-04-04 11:12:17 +02:00
parent 80143fee87
commit f8b452901f
3 changed files with 35 additions and 0 deletions

View File

@@ -71,9 +71,24 @@ in {
volume_full = "🔊 ";
volume_half = "🔉 ";
volume_muted = "🔇";
weather_sun = "🌣";
weather_clouds = "🌥";
weather_rain = "🌧";
weather_snow = "🌨";
weather_default = "🌡";
weather_thunder = "🌩";
};
};
block = [
{
block = "weather";
service = {
name = "openweathermap";
api_key = lib.strings.fileContents <secrets/openweathermap.key>;
city_id = "2950159";
units = "metric";
};
}
{
block = "custom";
interval = 20;