48 lines
1.2 KiB
Org Mode
48 lines
1.2 KiB
Org Mode
|
#+TITLE:Calendar Configuration
|
||
|
|
||
|
* Vdirsyncer
|
||
|
:PROPERTIES:
|
||
|
:header-args: :tangle ~/.config/vdirsyncer/config
|
||
|
:header-args+: :comments both :mkdirp yes
|
||
|
:END:
|
||
|
|
||
|
#+BEGIN_SRC conf
|
||
|
[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 = "***REMOVED***"
|
||
|
|
||
|
[storage google_calendar_local]
|
||
|
type = "filesystem"
|
||
|
path = "~/.calendars/google/"
|
||
|
fileext = ".ics"
|
||
|
#+END_SRC
|
||
|
|
||
|
* Khal
|
||
|
:PROPERTIES:
|
||
|
:header-args: :tangle ~/.config/khal/config
|
||
|
:header-args+: :comments both :mkdirp yes
|
||
|
:END:
|
||
|
|
||
|
#+BEGIN_SRC conf
|
||
|
[calendars]
|
||
|
|
||
|
[[home]]
|
||
|
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
|
||
|
color = dark green
|
||
|
|
||
|
[[work]]
|
||
|
path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
|
||
|
color = dark red
|
||
|
#+END_SRC
|