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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user