From 71f5e8324147bc1dcc63f900cb4655cb42036caa Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 9 Sep 2016 13:53:57 +0100 Subject: Add khal + vdirsyncer configurations --- crontab/crontab | 2 ++ khal/.config/khal/khal.conf | 10 ++++++++++ vdirsyncer/.config/vdirsyncer/.gitignore | 1 + vdirsyncer/.config/vdirsyncer/config | 20 ++++++++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 crontab/crontab create mode 100644 khal/.config/khal/khal.conf create mode 100644 vdirsyncer/.config/vdirsyncer/.gitignore create mode 100644 vdirsyncer/.config/vdirsyncer/config diff --git a/crontab/crontab b/crontab/crontab new file mode 100644 index 0000000..a6b27a3 --- /dev/null +++ b/crontab/crontab @@ -0,0 +1,2 @@ +*/5 * * * * /home/urbain/bin/email >> /home/urbain/.cron_email_log +*/5 * * * * /usr/bin/vdirsyncer sync >> /home/urbain/.cron_calendar_log diff --git a/khal/.config/khal/khal.conf b/khal/.config/khal/khal.conf new file mode 100644 index 0000000..3be1d2b --- /dev/null +++ b/khal/.config/khal/khal.conf @@ -0,0 +1,10 @@ +[calendars] + + [[home]] + path = ~/.calendars/home/ + color = dark green + +[default] + default_calendar = home + print_new = event + timedelta = 30d diff --git a/vdirsyncer/.config/vdirsyncer/.gitignore b/vdirsyncer/.config/vdirsyncer/.gitignore new file mode 100644 index 0000000..8be5547 --- /dev/null +++ b/vdirsyncer/.config/vdirsyncer/.gitignore @@ -0,0 +1 @@ +status diff --git a/vdirsyncer/.config/vdirsyncer/config b/vdirsyncer/.config/vdirsyncer/config new file mode 100644 index 0000000..0b2b070 --- /dev/null +++ b/vdirsyncer/.config/vdirsyncer/config @@ -0,0 +1,20 @@ +[general] +status_path = ~/.config/vdirsyncer/status/ + +# CALDAV +[pair calendar] +a = calendar_local +b = calendar_remote +collections = ["from b"] +conflict_resolution = b wins + +[storage calendar_local] +type = filesystem +path = ~/.calendars/ +fileext = .ics + +[storage calendar_remote] +type = caldav +url = "https://cal.urbainvaes.com/" +username = urbain +password.fetch = ["command", "pass", "show", "radicale/urbain"] -- cgit v1.2.3