literate-dotfiles/calendar.org

2.7 KiB

#+TITLE:Calendar Configuration

Vdirsyncer

  [general]
  status_path = "~/.config/vdirsyncer/status/"

  [pair google_calendar]
  a = "google_calendar_remote"
  b = "google_calendar_local"
  collections = ["dehaeze.thomas@gmail.com", "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"]
  conflict_resolution = "a wins"

  [storage google_calendar_remote]
  type = "google_calendar"
  token_file = "~/.config/dotfiles/private/token_file"
  client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
  client_secret = "<<get-password(passname="calendar/google_client_secret")>>"

  [storage google_calendar_local]
  type = "filesystem"
  path = "~/.calendars/google/"
  fileext = ".ics"


  [pair google_contacts]
  a = "google_contacts_remote"
  b = "google_contacts_local"
  collections = ["from a", "from b"]
  conflict_resolution = "a wins"

  [storage google_contacts_local]
  type = "filesystem"
  path = "~/.contacts/"
  fileext = ".vcf"

  [storage google_contacts_remote]
  type = "google_contacts"
  token_file = "~/.config/dotfiles/private/token_file_carddav"
  client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
  client_secret = "<<get-password(passname="contacts/google_client_secret")>>"

Khal

  [calendars]

  [[home]]
  path = ~/.calendars/google/dehaeze.thomas@gmail.com/
  color = "#B8BB26"

  [[work]]
  path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
  color = "#FB4934"

  [highlight_days]
  multiple = "#FABD2F"

  [default]
  highlight_event_days = True

  [locale]
  local_timezone= Europe/Berlin
  default_timezone= Europe/Berlin
  timeformat= %H:%M
  dateformat= %d.%m.
  longdateformat= %d.%m.%Y
  datetimeformat= %d.%m. %H:%M
  longdatetimeformat= %d.%m.%Y %H:%M

  [keybindings]
  delete = d
  today = .
  new = c