mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(i3): bye bye vaccinations
This commit is contained in:
@@ -127,14 +127,6 @@ in {
|
|||||||
print("🌅 {} 🌇 {} {} {}".format(sun["sunrise"].strftime("%R"), sun["sunset"].strftime("%R"), moon_phases[closest_phase], round(current_phase, 1)))
|
print("🌅 {} 🌇 {} {} {}".format(sun["sunrise"].strftime("%R"), sun["sunset"].strftime("%R"), moon_phases[closest_phase], round(current_phase, 1)))
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{
|
|
||||||
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 * 1000 | floor | . / 10)% Ⅱ \(.data.secondVaccination.quote * 1000 | floor | . / 10)%"'
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
(let service = "openvpn-hu-berlin"; in {
|
(let service = "openvpn-hu-berlin"; in {
|
||||||
block = "custom";
|
block = "custom";
|
||||||
interval = 5;
|
interval = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user