summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2019-12-27 15:45:55 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2019-12-27 15:45:55 +0000
commit530bd977aeca63a72195d51c666bbc140af74bc0 (patch)
tree8ccc2963159e9da8e32b32eceb7a0b905291d4d0 /init.el
parent8b28dc3f7a6843393ddf3c9e264432b9644a588b (diff)
better handling of org-gcal keys
Diffstat (limited to 'init.el')
-rw-r--r--init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el
index 48a9b2f..2707a12 100644
--- a/init.el
+++ b/init.el
@@ -210,6 +210,9 @@
(use-package magit
:bind ("C-x g" . magit-status))
+;; Integration with pass password manager
+(use-package password-store)
+
;; Git enhancement
(use-package git-gutter
:config
@@ -309,8 +312,10 @@
(use-package org-gcal
:bind (:map org-agenda-mode-map ("g" . org-gcal-fetch))
:config
+ (setq org-gcal-secret (password-store-get "EmacsSecrets/org-gcal-secret")
+ org-gcal-client-id (password-store-get "EmacsSecrets/org-gcal-client-id"))
(setq org-gcal-client-id "685624394721-5bsfpo57ri2rcc7k6f8sbg12gjrs7dot.apps.googleusercontent.com"
- org-gcal-client-secret "IAZ8j86uAPyolUnPGJxfieGO"
+ org-gcal-client-secret org-gcal-secret
org-gcal-file-alist '(("matthew.lemon@gmail.com" . "~/Nextcloud/org/calendar/work-cal.org")
("12panp3nqdbmm9df4if9jigigo@group.calendar.google.com" . "~/Nextcloud/org/calendar/home-cal.org"))))