make org-gcal config use custom

This commit is contained in:
Peter Tillemans 2024-08-02 11:39:46 +02:00
parent eff3d1af08
commit 4142a26d09

View file

@ -34,7 +34,7 @@ It is possible there are more so probably the most recent one is the one to use.
- [[https://github.com/jwiegley/use-package][GitHub repo for use-package]]
- [[https://github.com/jwiegley/dot-emacs/blob/master/init.org][John Wiegley's .emacs file]]
- [[https://github.com/TheBB/dotemacs/blob/master/init.el][Eivind Fonn's init.el]]
-
* First Things First
*** Make tangled file read-only
@ -1025,14 +1025,15 @@ Here is a snapshot of the keybindings dd <2024-07-30 Tue>.
;; configure support for google calendar
(use-package org-gcal
:ensure t
:defer 10
:init
(setq
org-gcal-client-id (auth-source-pass-get 'secret "snamellit/org-gcal-client")
org-gcal-client-secret (auth-source-pass-get "id" "snamellit/org-gcal-client")
org-gcal-fetch-file-alist '(("pti@snamellit.com" . "~/org/schedule.org"))))
:custom
(org-gcal-client-id (auth-source-pass-get 'secret "snamellit/org-gcal-client"))
(org-gcal-client-secret (auth-source-pass-get "id" "snamellit/org-gcal-client"))
(org-gcal-fetch-file-alist '(("pti@snamellit.com" . "~/org/schedule.org")))
:commands (org-gcal-sync org-gcal-fetch) )
#+END_SRC
#+RESULTS:
**** Org Jira Integration
#+BEGIN_SRC emacs-lisp