mirror of
https://github.com/kmein/niveum
synced 2026-03-20 20:01:08 +01:00
feat(i3status-rust): autolocate weather block
This commit is contained in:
@@ -82,6 +82,8 @@ in {
|
|||||||
block = [
|
block = [
|
||||||
{
|
{
|
||||||
block = "weather";
|
block = "weather";
|
||||||
|
autolocate = true;
|
||||||
|
format = "{location}: {temp}°C";
|
||||||
service = {
|
service = {
|
||||||
name = "openweathermap";
|
name = "openweathermap";
|
||||||
api_key = lib.strings.fileContents <secrets/openweathermap.key>;
|
api_key = lib.strings.fileContents <secrets/openweathermap.key>;
|
||||||
|
|||||||
Reference in New Issue
Block a user