mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
feat(i3status-rust): add vaccination quota indicator
This commit is contained in:
@@ -92,6 +92,14 @@ in {
|
|||||||
units = "metric";
|
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";
|
block = "custom";
|
||||||
interval = 30;
|
interval = 30;
|
||||||
|
|||||||
Reference in New Issue
Block a user