From 1b7402b9e0d623cab9284aada81fb5429cf662e7 Mon Sep 17 00:00:00 2001 From: marcellus Date: Thu, 2 Nov 2023 19:56:27 +0100 Subject: various --- zsh/.zprofile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh/.zprofile') diff --git a/zsh/.zprofile b/zsh/.zprofile index 2a73493..dad305e 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,2 +1,5 @@ +curl -m 3 -s "$CAL_PERSO" | grep -v END:VCALENDAR >/tmp/calendar.ics +curl -m 3 -s "$CAL_SCHOOL" | grep -v BEGIN:VCALENDAR >> /tmp/calendar.ics +icstocal /tmp/calendar.ics /tmp/calendar >/dev/null [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx -- cgit v1.2.3