From 5b76c1439fe28577e43f1d22c0f6af4ac3a7067c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 5 Apr 2021 10:08:01 +0200 Subject: [PATCH] feat(i3status-rust): autolocate weather block --- lib/i3status-rust.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/i3status-rust.nix b/lib/i3status-rust.nix index dc69559..c032131 100644 --- a/lib/i3status-rust.nix +++ b/lib/i3status-rust.nix @@ -82,6 +82,8 @@ in { block = [ { block = "weather"; + autolocate = true; + format = "{location}: {temp}°C"; service = { name = "openweathermap"; api_key = lib.strings.fileContents ;