From 4316c604f6b3f95247202464fcacb26bb18e7e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 18 Jan 2022 18:31:30 +0100 Subject: [PATCH] feat(i3): bye bye vaccinations --- lib/i3status-rust.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/i3status-rust.nix b/lib/i3status-rust.nix index 13d8b5c..aae1f4b 100644 --- a/lib/i3status-rust.nix +++ b/lib/i3status-rust.nix @@ -127,14 +127,6 @@ in { 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 { block = "custom"; interval = 5;