summaryrefslogtreecommitdiff
path: root/zsh/.zprofile
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zprofile')
-rw-r--r--zsh/.zprofile3
1 files changed, 3 insertions, 0 deletions
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