literate-dotfiles/dotfiles/calendar.org

103 lines
2.7 KiB
Org Mode
Raw Normal View History

2019-04-04 11:17:17 +02:00
#+TITLE:Calendar Configuration
2020-01-11 22:04:28 +01:00
:DRAWER:
#+STARTUP: overview
#+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas
#+HTML_LINK_HOME: ./index.html
#+HTML_LINK_UP: ./index.html
2020-01-11 22:24:51 +01:00
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
2020-01-11 22:04:28 +01:00
:END:
2019-04-04 11:17:17 +02:00
* Vdirsyncer
2019-12-16 08:53:36 +01:00
:PROPERTIES:
:header-args: :tangle ~/.config/vdirsyncer/config
: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
[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")>>"
2019-04-04 11:17:17 +02:00
[storage google_calendar_local]
type = "filesystem"
path = "~/.calendars/google/"
fileext = ".ics"
2019-12-15 10:58:40 +01:00
[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
* Khal
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
[calendars]
[[home]]
path = ~/.calendars/google/dehaeze.thomas@gmail.com/
2019-05-02 10:44:45 +02:00
color = "#B8BB26"
2019-04-04 11:17:17 +02:00
[[work]]
path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
2019-05-02 10:44:45 +02:00
color = "#FB4934"
[highlight_days]
multiple = "#FABD2F"
[default]
highlight_event_days = True
2019-05-16 21:13:08 +02:00
2020-05-01 00:32:44 +02:00
[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
2019-05-16 21:13:08 +02:00
[keybindings]
delete = d
today = .
new = c
2019-04-04 11:17:17 +02:00
#+END_SRC