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

feat(i3status-rust): add vaccination quota indicator

This commit is contained in:
2021-06-10 20:02:45 +02:00
parent 70414128e5
commit 6c96c792f0

View File

@@ -92,6 +92,14 @@ in {
units = "metric";
};
}
{
block = "custom";
interval = 60 * 60;
command = pkgs.writers.writeDash "vax" ''
${pkgs.curl}/bin/curl -sSL https://api.corona-zahlen.org/vaccinations \
| ${pkgs.jq}/bin/jq -r '"💉 \(.data.quote * 100)% \(.data.secondVaccination.quote * 100)%"'
'';
}
{
block = "custom";
interval = 30;