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/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/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]] - [[https://github.com/TheBB/dotemacs/blob/master/init.el][Eivind Fonn's init.el]]
-
* First Things First * First Things First
*** Make tangled file read-only *** 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 ;; configure support for google calendar
(use-package org-gcal (use-package org-gcal
:ensure t :ensure t
:defer 10 :custom
:init (org-gcal-client-id (auth-source-pass-get 'secret "snamellit/org-gcal-client"))
(setq (org-gcal-client-secret (auth-source-pass-get "id" "snamellit/org-gcal-client"))
org-gcal-client-id (auth-source-pass-get 'secret "snamellit/org-gcal-client") (org-gcal-fetch-file-alist '(("pti@snamellit.com" . "~/org/schedule.org")))
org-gcal-client-secret (auth-source-pass-get "id" "snamellit/org-gcal-client") :commands (org-gcal-sync org-gcal-fetch) )
org-gcal-fetch-file-alist '(("pti@snamellit.com" . "~/org/schedule.org"))))
#+END_SRC #+END_SRC
#+RESULTS:
**** Org Jira Integration **** Org Jira Integration
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp