From 34479529ffcd665294db78daf6bbe7943163fb87 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Thu, 4 Apr 2019 11:17:17 +0200 Subject: [PATCH] Add calendar config file --- dotfiles/calendar.org | 47 +++++++++++++++++++++++++ dotfiles/config.org | 81 ------------------------------------------- 2 files changed, 47 insertions(+), 81 deletions(-) create mode 100644 dotfiles/calendar.org diff --git a/dotfiles/calendar.org b/dotfiles/calendar.org new file mode 100644 index 0000000..4c7a768 --- /dev/null +++ b/dotfiles/calendar.org @@ -0,0 +1,47 @@ +#+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 diff --git a/dotfiles/config.org b/dotfiles/config.org index 719bac1..9ceec68 100644 --- a/dotfiles/config.org +++ b/dotfiles/config.org @@ -366,42 +366,6 @@ hiDPI exec budgie-desktop #+END_SRC -* Calcurse - :PROPERTIES: - :header-args: :tangle ~/.calcurse/conf - :header-args+: :comments both :mkdirp yes - :END: - -#+BEGIN_SRC conf - appearance.calendarview=monthly - appearance.compactpanels=no - appearance.defaultpanel=calendar - appearance.layout=1 - appearance.notifybar=yes - appearance.sidebarwidth=0 - appearance.theme=red on default - appearance.todoview=show-completed - appearance.headingpos=right-justified - daemon.enable=no - daemon.log=no - format.inputdate=1 - format.notifydate=%a %F - format.notifytime=%T - format.outputdate=%D - format.dayheading=%B %-d, %Y - general.autogc=no - general.autosave=yes - general.confirmdelete=yes - general.confirmquit=yes - general.firstdayofweek=monday - general.periodicsave=0 - general.progressbar=yes - general.systemdialogs=yes - notification.command=printf '\a' - notification.notifyall=flagged-only - notification.warning=300 -#+END_SRC - * GnuPG :PROPERTIES: :header-args: :tangle ~/.gnupg/gpg-agent.conf @@ -1407,23 +1371,6 @@ help_color="#2d7ed8" scrot_dir=$HOME/Pictures #+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 * Nitrogen :PROPERTIES: :header-args: :tangle ~/.config/nitrogen/nitrogen.cfg @@ -1508,34 +1455,6 @@ help_color="#2d7ed8" pathbar_mode_buttons=0 #+END_SRC -* 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 - * Viewnior :PROPERTIES: :header-args: :tangle ~/.config/viewnior/viewnior.conf