aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-12 11:14:49 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-12 11:14:49 +0100
commit707ffd28b664046f271bf8fae58fcb013aeedbbe (patch)
tree4aa368bcb1a2e52730a197d6fa349fcf9476af2c
parent503a122cb0f0ed4cea657742c46c2de4df95c34d (diff)
Adds khal khard and vdirsyncer
-rw-r--r--khal/config29
-rw-r--r--khard/khard.conf14
-rw-r--r--vdirsyncer/config60
3 files changed, 103 insertions, 0 deletions
diff --git a/khal/config b/khal/config
new file mode 100644
index 0000000..91b05b0
--- /dev/null
+++ b/khal/config
@@ -0,0 +1,29 @@
+[calendars]
+
+[[radicale]]
+path = ~/.calendars/radicale/3c6cbab1-0568-1872-a1e8-bc71501565a9
+color = brown
+priority = 10
+
+[[home]]
+path = ~/.calendars/fastmail/d575ba80-7a6c-4400-86ff-2d09f72b18f1
+color = light blue
+priority = 20
+
+[[public-holidays]]
+path = ~/.calendars/fastmail/65d5ab52-0cac-4c72-b786-0ebbde377b88
+color = light green
+
+[[google work]]
+path = ~/.calendars/fastmail/3e443339-3898-40bb-b1ac-5d3c6aeb4c33
+color = dark red
+
+[view]
+agenda_event_format = "{start-time} {title}"
+
+[default]
+default_calendar = "radicale"
+
+[locale]
+firstweekday = 0
+timeformat = "%H:%M"
diff --git a/khard/khard.conf b/khard/khard.conf
new file mode 100644
index 0000000..b6d6018
--- /dev/null
+++ b/khard/khard.conf
@@ -0,0 +1,14 @@
+[addressbooks]
+[[personal]]
+path = ~/.contacts/55caade5-39ac-f0d0-5a0f-373793eb6926/
+
+[general]
+debug = no
+default_action = list
+
+[contact table]
+display = first_name
+reverse = no
+show_uids = no
+sort = last_name
+localize_dates = yes
diff --git a/vdirsyncer/config b/vdirsyncer/config
new file mode 100644
index 0000000..7db113e
--- /dev/null
+++ b/vdirsyncer/config
@@ -0,0 +1,60 @@
+[general]
+# A folder where vdirsyncer can store some metadata about each pair.
+status_path = "~/.vdirsyncer/status/"
+
+## CARDDAV
+[pair radicale_contacts]
+a = "radicale_contacts_local"
+b = "radicale_contacts_remote"
+
+collections = ["from a", "from b"]
+
+[storage radicale_contacts_local]
+type = "filesystem"
+path = "~/.contacts/"
+fileext = ".vcf"
+
+[storage radicale_contacts_remote]
+type = "carddav"
+url = "https://cal.16693433.xyz/radicale/lemon/55caade5-39ac-f0d0-5a0f-373793eb6926/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+
+# CALDAV
+[pair radicale]
+a = "radicale_local"
+b = "radicale_remote"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "b wins"
+
+[storage radicale_local]
+type = "filesystem"
+path = "~/.calendars/radicale/"
+fileext = ".ics"
+
+[storage radicale_remote]
+type = "caldav"
+url = "https://cal.16693433.xyz/radicale/lemon/3c6cbab1-0568-1872-a1e8-bc71501565a9/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+[pair fastmail_calendar]
+a = "fastmail_calendar_local"
+b = "fastmail_calendar_remote"
+collections = ["from a", "from b"]
+
+# Calendars also have a color property
+metadata = ["displayname", "color"]
+
+[storage fastmail_calendar_local]
+type = "filesystem"
+path = "~/.calendars/fastmail/"
+fileext = ".ics"
+
+[storage fastmail_calendar_remote]
+type = "caldav"
+url = "https://caldav.fastmail.com/"
+username = "mrlemon@mailforce.net"
+password.fetch = ["command", "pass", "show", "evolution_email_fastmail"]