From 97e61f6eb1c600662caa2e2b07ffb633a5784111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 10 May 2021 06:01:47 +0200 Subject: [PATCH] feat(i3status-rust): remove incidence block --- lib/i3status-rust.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/i3status-rust.nix b/lib/i3status-rust.nix index 30c7d09..75e805a 100644 --- a/lib/i3status-rust.nix +++ b/lib/i3status-rust.nix @@ -91,17 +91,6 @@ in { units = "metric"; }; } - { - block = "custom"; - interval = 60 * 60; - command = - let - area = "states"; # "districts"; - code = "BE"; # "11007"; - in pkgs.writers.writeDash "incidence" '' - ${pkgs.curl}/bin/curl -sSL https://api.corona-zahlen.org/${area}/${code} | ${pkgs.jq}/bin/jq -r '.data.${code} | "📈 \(.name): \(.weekIncidence | floor)"' - ''; - } { block = "custom"; interval = 30;