2019-04-04 11:17:17 +02:00
|
|
|
#+TITLE:Calendar Configuration
|
2021-01-01 20:12:34 +01:00
|
|
|
#+SETUPFILE: ./setup/org-setup-file.org
|
2019-04-04 11:17:17 +02:00
|
|
|
|
2021-01-01 20:12:34 +01:00
|
|
|
* =vdirsyncer= - Synchronize calendars and contacts
|
2019-12-16 08:53:36 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:header-args: :tangle ~/.config/vdirsyncer/config
|
2020-03-01 22:46:00 +01:00
|
|
|
:header-args+: :comments both :mkdirp yes :noweb no-export
|
2019-12-16 08:53:36 +01:00
|
|
|
:END:
|
2019-04-04 11:17:17 +02:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2021-01-08 01:26:27 +01:00
|
|
|
[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")>>"
|
2019-04-04 11:17:17 +02:00
|
|
|
#+END_SRC
|
|
|
|
|
2021-01-01 20:12:34 +01:00
|
|
|
* =khal= - CLI calendar application
|
2019-12-16 08:53:36 +01:00
|
|
|
:PROPERTIES:
|
2020-05-01 00:32:44 +02:00
|
|
|
:header-args: :tangle ~/.config/khal/config
|
2019-12-16 08:53:36 +01:00
|
|
|
:header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
2019-04-04 11:17:17 +02:00
|
|
|
|
|
|
|
#+BEGIN_SRC conf
|
2021-01-08 01:26:27 +01:00
|
|
|
[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
|
2019-04-04 11:17:17 +02:00
|
|
|
#+END_SRC
|