summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-04-18 09:31:54 +0200
committerJonas Smedegaard <dr@jones.dk>2024-04-18 09:33:25 +0200
commit2857160a61d56983a3419123dd0cb8a4c15bfea1 (patch)
treebb5a6bade38ef0c3f3839bda3a0afc540f03e103 /bin
parent90fde32f059b8e88f3e7a1a39248a5e38b01fd58 (diff)
drop obsolete teams
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