Browse Source

Adding configs for calendar

main
Yigit Colakoglu 3 years ago
parent
commit
e1a358dc58
2 changed files with 61 additions and 10 deletions
  1. +23
    -0
      .config/khal/config
  2. +38
    -10
      .config/vdirsyncer/config

+ 23
- 0
.config/khal/config View File

@ -0,0 +1,23 @@
[calendars]
[[holidays_local]]
path = ~/.local/share/calendars/holidays/*
type = discover
[[nx_calendar_local]]
path = ~/.local/share/calendars/nx_calendar/*
type = discover
[[tudelft_local]]
path = ~/.local/share/calendars/tudelft/*
type = discover
[locale]
timeformat = %H:%M
dateformat = %d/%m/%Y
longdateformat = %d/%m/%Y
datetimeformat = %d/%m/%Y %H:%M
longdatetimeformat = %d/%m/%Y %H:%M
[default]
default_calendar = tudelft_local

+ 38
- 10
.config/vdirsyncer/config View File

@ -1,18 +1,46 @@
[general] [general]
status_path = "~/.cache/vsync-status/" status_path = "~/.cache/vsync-status/"
[pair nextcloud_contacts]
a = "nx_contacts_local"
b = "nx_contacts_remote"
[pair nx_calendar]
a = "nx_calendar_local"
b = "nx_calendar_remote"
collections = ["from a", "from b"] collections = ["from a", "from b"]
[storage nx_contacts_local]
type = "filesystem"
path = "~/.local/share/card/contacts"
fileext = ".vcf"
[storage nx_calendar_local]
type="filesystem"
path="~/.local/share/calendars/nx_calendar"
fileext = ".ics"
[storage nx_contacts_remote]
type = "carddav"
url = "https://drive.yigitcolakoglu.com/"
[storage nx_calendar_remote]
type = "caldav"
url = "https://drive.yigitcolakoglu.com/remote.php/dav/calendars/yigitcolakoglu/"
username = "yigitcolakoglu" username = "yigitcolakoglu"
password.fetch = ["command", "pass", "show", "Server/drive.yigitcolakoglu.com/yigitcolakoglu"] password.fetch = ["command", "pass", "show", "Server/drive.yigitcolakoglu.com/yigitcolakoglu"]
[pair tudelft]
a = "tudelft_local"
b = "tudelft_remote"
collections = null
[storage tudelft_local]
type = "filesystem"
path = "~/.local/share/calendars/tudelft/"
fileext = ".ics"
[storage tudelft_remote]
type = "http"
url = "https://mytimetable.tudelft.nl/ical?6194c418&group=false&eu=eWNvbGFrb2dsdUB0dWRlbGZ0Lm5s&h=QIWV7_uozTp9uex7WnUfPwqbM79lmdtiZEbRRWK7pto="
[pair holidays]
a = "holidays_remote"
b = "holidays_local"
collections = null
[storage holidays_remote]
type = "http"
url = "https://www.mozilla.org/media/caldata/TurkeyHolidays.ics"
[storage holidays_local]
type = "filesystem"
path = "~/.local/share/calendars/holidays/"
fileext = ".ics"

Loading…
Cancel
Save