aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cal-fetch.sh2
-rwxr-xr-xbin/cal-publish.sh8
2 files changed, 2 insertions, 8 deletions
diff --git a/bin/cal-fetch.sh b/bin/cal-fetch.sh
index d6c91a4..47b3f03 100755
--- a/bin/cal-fetch.sh
+++ b/bin/cal-fetch.sh
@@ -4,4 +4,4 @@
set -eu
-vdirsyncer sync jonas_calendar/_ruc_thoughtroam jonas_calendar/_ruc_thoughtroam-learn jonas_calendar/_ruc_thoughtroam-code jonas_calendar/_ruc_thoughtroam-use
+vdirsyncer sync jonas_calendar/_ruc_thoughtroam
diff --git a/bin/cal-publish.sh b/bin/cal-publish.sh
index a567ee8..9278d3e 100755
--- a/bin/cal-publish.sh
+++ b/bin/cal-publish.sh
@@ -8,14 +8,8 @@ STARTDATE=$(date --date "1 week ago" +%Y%m%d)
OUTDIR=events
-mkdir --parents "$OUTDIR/learn" "$OUTDIR/code" "$OUTDIR/use" "$OUTDIR/superteam"
+mkdir --parents "$OUTDIR/superteam"
-icalmerge ~/.calendars/_ruc_thoughtroam-learn/*.ics "$OUTDIR"/learn/learn.ics
-icalmerge ~/.calendars/_ruc_thoughtroam-code/*.ics "$OUTDIR"/code/code.ics
-#icalmerge ~/.calendars/_ruc_thoughtroam-use/*.ics "$OUTDIR"/use/use.ics
icalmerge ~/.calendars/_ruc_thoughtroam/*.ics "$OUTDIR"/superteam/superteam.ics
-ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam kode" "$STARTDATE" P40D "$OUTDIR"/learn/learn.ics > "$OUTDIR"/learn/index.html
-ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam læring" "$STARTDATE" P40D "$OUTDIR"/code/code.ics > "$OUTDIR"/code/index.html
-#ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam brug" "$STARTDATE" P40D "$OUTDIR"/use/use.ics > "$OUTDIR"/use/index.html
ical2html --timezone=Europe/Copenhagen --monday --location --title "RUC HumTek-23 Thoughtroam fælles" "$STARTDATE" P40D "$OUTDIR"/superteam/superteam.ics > "$OUTDIR"/superteam/index.html