1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(i3status-rust): remove incidence block

This commit is contained in:
2021-05-10 06:01:47 +02:00
parent 3cb211c682
commit 97e61f6eb1

View File

@@ -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;