summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/khal/config22
-rw-r--r--.config/todoman/config.py6
-rw-r--r--.config/vdirsyncer/config40
3 files changed, 59 insertions, 9 deletions
diff --git a/.config/khal/config b/.config/khal/config
new file mode 100644
index 0000000..f1c7dda
--- /dev/null
+++ b/.config/khal/config
@@ -0,0 +1,22 @@
+[calendars]
+
+[[personal]]
+path = ~/calendars/personal
+color = light magenta
+
+[locale]
+timeformat = %H:%M
+dateformat = %Y-%m-%d
+longdateformat = %Y-%m-%d
+datetimeformat = %Y-%m-%d %H:%M
+longdatetimeformat = %Y-%m-%d %H:%M
+
+[default]
+default_calendar = personal
+highlight_event_days = true
+
+[highlight_days]
+default_color = dark green
+
+[keybindings]
+external_edit = E
diff --git a/.config/todoman/config.py b/.config/todoman/config.py
new file mode 100644
index 0000000..3a982f8
--- /dev/null
+++ b/.config/todoman/config.py
@@ -0,0 +1,6 @@
+# A glob expression which matches all directories relevant.
+path = "~/calendars/tasks/"
+date_format = "%Y-%m-%d"
+time_format = "%H:%M"
+default_list = "tasks"
+default_due = 48
diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config
index 042910e..b088c24 100644
--- a/.config/vdirsyncer/config
+++ b/.config/vdirsyncer/config
@@ -2,26 +2,48 @@
 # A folder where vdirsyncer can store some metadata about each pair.
 status_path = "~/.local/state/vdirsyncer/status/"
 
-# CALDAV
+# CALDAV events
 [pair gnzler_calendars]
-a = "gnzler_calendars_local"
-b = "gnzler_calendars_remote"
-collections = ["from a", "from b"]
-
-# Calendars also have a color property
+a = "gnzler_calendar_local"
+b = "gnzler_calendar_remote"
+collections = null
 metadata = ["displayname", "color"]
+conflict_resolution = ["command", "nvim", "-d"]
 
-[storage gnzler_calendars_local]
+[storage gnzler_calendar_local]
 type = "filesystem"
-path = "~/calendars/"
+path = "~/calendars/personal/"
 fileext = ".ics"
 
-[storage gnzler_calendars_remote]
+[storage gnzler_calendar_remote]
 type = "caldav"
+item_types = ["VEVENT"]
 url = "https://webmail.gandi.net/SOGo/dav/robert@gnzler.io/Calendar/personal/"
 username = "robert@gnzler.io"
 password.fetch = ["shell", "secretmenu -P 'gnzler.io mail' | head -n1"]
 
+
+# CALDAV tasks
+[pair gnzler_tasks]
+a = "gnzler_tasks_local"
+b = "gnzler_tasks_remote"
+collections = null
+metadata = ["displayname", "color"]
+conflict_resolution = ["command", "nvim", "-d"]
+
+[storage gnzler_tasks_local]
+type = "filesystem"
+path = "~/calendars/tasks/"
+fileext = ".ics"
+
+[storage gnzler_tasks_remote]
+type = "caldav"
+item_types = ["VTODO"]
+url = "https://webmail.gandi.net/SOGo/dav/robert@gnzler.io/Calendar/7F5F-63225280-C7-DF8F570/"
+username = "robert@gnzler.io"
+password.fetch = ["shell", "secretmenu -P 'gnzler.io mail' | head -n1"]
+
+
 # CARDDAV
 [pair gnzler_contacts]
 a = "gnzler_contacts_local"