From ff49bb95a7359617847df7b0d78fe64e3dc590bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 3 May 2021 06:08:22 +0200 Subject: [PATCH] feat(i3status-rust): incidence with region name --- lib/i3status-rust.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/i3status-rust.nix b/lib/i3status-rust.nix index 0e56a5e..9647868 100644 --- a/lib/i3status-rust.nix +++ b/lib/i3status-rust.nix @@ -100,7 +100,7 @@ in { code = "BE"; # "11007"; in pkgs.writers.writeDash "incidence" '' printf "📈" - ${pkgs.curl}/bin/curl -sSL https://api.corona-zahlen.org/${area}/${code} | ${pkgs.jq}/bin/jq -r '.data.${code}.weekIncidence | round' + ${pkgs.curl}/bin/curl -sSL https://api.corona-zahlen.org/${area}/${code} | ${pkgs.jq}/bin/jq -r '.data.${code} | "\(.name): \(.weekIncidence | round)"' ''; } {