summaryrefslogtreecommitdiff
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2023-11-02 19:56:27 +0100
committermarcellus <msimon_fr@hotmail.com>2023-11-02 19:56:27 +0100
commit1b7402b9e0d623cab9284aada81fb5429cf662e7 (patch)
tree02066b7acca6f4038357e76121e7bcc05a50886b /zsh/.zprofile
parent0e2d387565cb03c41cef33b9ff01eac5a5cb9132 (diff)
various
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