diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-12-13 07:46:56 +0100 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-12-13 07:46:56 +0100 |
| commit | 09710a3463bc4a90e797d29b4955af1831a84e98 (patch) | |
| tree | a50ec957130e7573af00fa13af502374edf8c400 /zsh/.zprofile | |
| parent | bcf8aade269e9fcf6a1a1dcca63d21269f03ae9d (diff) | |
| parent | 1b7402b9e0d623cab9284aada81fb5429cf662e7 (diff) | |
Merge branch 'main' of github.com:Laitram31/.config
Diffstat (limited to 'zsh/.zprofile')
| -rw-r--r-- | zsh/.zprofile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile index d8f183c..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 startx +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx |
