summaryrefslogtreecommitdiff
path: root/zsh/.zprofile
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2025-07-03 17:20:02 +0200
committermarcellus <msimon_fr@hotmail.com>2025-07-03 17:20:02 +0200
commitd55e32e79a6b1280952eec4b108c9a47e1fad514 (patch)
tree699ae85d853e042f00e7e8873426d9d657de5d85 /zsh/.zprofile
parente16918bc16c392abc303eb20a8a28545b599bfc1 (diff)
update
Diffstat (limited to 'zsh/.zprofile')
-rw-r--r--zsh/.zprofile9
1 files changed, 6 insertions, 3 deletions
diff --git a/zsh/.zprofile b/zsh/.zprofile
index fdc7db6..cdf960f 100644
--- a/zsh/.zprofile
+++ b/zsh/.zprofile
@@ -1,5 +1,8 @@
-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
+export PATH="$HOME/.config/scripts:$PATH"
+
+#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
+curl -m 3 -s "$CAL_SCHOOL" > /tmp/calendar.ics
icstocal /tmp/calendar.ics /tmp/calendar >/dev/null
-#[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx
+[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx