From 0935f3ffd1cad797b853c2e3bfce7603f1fddf11 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 22 May 2023 09:58:48 +0200 Subject: vdirsyncer: move config to XDG_CONFIG_HOME --- .config/vdirsyncer/config | 55 +++++++++++++++++++++++++++++++++++++++++++++++ .vdirsyncer/config | 55 ----------------------------------------------- 2 files changed, 55 insertions(+), 55 deletions(-) create mode 100644 .config/vdirsyncer/config delete mode 100644 .vdirsyncer/config diff --git a/.config/vdirsyncer/config b/.config/vdirsyncer/config new file mode 100644 index 0000000..1020272 --- /dev/null +++ b/.config/vdirsyncer/config @@ -0,0 +1,55 @@ +[general] +status_path = "~/.vdirsyncer/status/" + +# carddav +[pair dave_contacts] +a = "dave_contacts_local" +b = "dave_contacts_remote" +collections = ["contacts", "wedding"] +conflict_resolution = "b wins" + +[storage dave_contacts_local] +type = "filesystem" +path = "~/.contacts/" +fileext = ".vcf" + +[storage dave_contacts_remote] +type = "carddav" +url = "https://cloud.sleepmap.de/remote.php/dav/" +username = "dave" +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] + +# caldav +[pair dave_calendar] +a = "dave_calendar_local" +b = "dave_calendar_remote" +conflict_resolution = "b wins" +collections = ["concerts", "contact_birthdays", "live", "flat", "private", "work", "bus_shared_by_t4", "personal_shared_by_nanni"] + +[storage dave_calendar_local] +type = "filesystem" +path = "~/.calendars/" +fileext = ".ics" + +[storage dave_calendar_remote] +type = "caldav" +url = "https://cloud.sleepmap.de/remote.php/dav/" +username = "dave" +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] + +[pair nanni_calendar] +a = "nanni_calendar_local" +b = "nanni_calendar_remote" +conflict_resolution = "b wins" +collections = ["flanger-studio-four_shared_by_nanni", "work_shared_by_nanni"] + +[storage nanni_calendar_local] +type = "filesystem" +path = "~/.calendars/" +fileext = ".ics" + +[storage nanni_calendar_remote] +type = "caldav" +url = "https://cloud.flanger.se/remote.php/dav/calendars/dave/" +username = "dave" +password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.flanger.se/dave"] diff --git a/.vdirsyncer/config b/.vdirsyncer/config deleted file mode 100644 index 1020272..0000000 --- a/.vdirsyncer/config +++ /dev/null @@ -1,55 +0,0 @@ -[general] -status_path = "~/.vdirsyncer/status/" - -# carddav -[pair dave_contacts] -a = "dave_contacts_local" -b = "dave_contacts_remote" -collections = ["contacts", "wedding"] -conflict_resolution = "b wins" - -[storage dave_contacts_local] -type = "filesystem" -path = "~/.contacts/" -fileext = ".vcf" - -[storage dave_contacts_remote] -type = "carddav" -url = "https://cloud.sleepmap.de/remote.php/dav/" -username = "dave" -password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] - -# caldav -[pair dave_calendar] -a = "dave_calendar_local" -b = "dave_calendar_remote" -conflict_resolution = "b wins" -collections = ["concerts", "contact_birthdays", "live", "flat", "private", "work", "bus_shared_by_t4", "personal_shared_by_nanni"] - -[storage dave_calendar_local] -type = "filesystem" -path = "~/.calendars/" -fileext = ".ics" - -[storage dave_calendar_remote] -type = "caldav" -url = "https://cloud.sleepmap.de/remote.php/dav/" -username = "dave" -password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.sleepmap.de/dave"] - -[pair nanni_calendar] -a = "nanni_calendar_local" -b = "nanni_calendar_remote" -conflict_resolution = "b wins" -collections = ["flanger-studio-four_shared_by_nanni", "work_shared_by_nanni"] - -[storage nanni_calendar_local] -type = "filesystem" -path = "~/.calendars/" -fileext = ".ics" - -[storage nanni_calendar_remote] -type = "caldav" -url = "https://cloud.flanger.se/remote.php/dav/calendars/dave/" -username = "dave" -password.fetch = ["command", "gopass", "show", "-o", "websites/cloud.flanger.se/dave"] -- cgit v1.2.3-54-g00ecf