Add khalel with configuration
This commit is contained in:
parent
b734dbb4c0
commit
fde712888b
55
README.org
55
README.org
|
@ -327,6 +327,42 @@ Rules and packages for buffer management and window navigation.
|
||||||
(slot . 0)
|
(slot . 0)
|
||||||
(window-height . 0.2)
|
(window-height . 0.2)
|
||||||
(window-parameters . ((no-delete-other-windows . t))))))
|
(window-parameters . ((no-delete-other-windows . t))))))
|
||||||
|
|
||||||
|
(use-package gnus-icalendar
|
||||||
|
:after (org-agenda)
|
||||||
|
:custom
|
||||||
|
(gnus-icalendar-org-capture-file (expand-file-name "calendar/email.org" org-directory))
|
||||||
|
(gnus-icalendar-org-capture-headline '("Inbox"))
|
||||||
|
:config
|
||||||
|
(require 'org-agenda)
|
||||||
|
(require 'org-capture)
|
||||||
|
(gnus-icalendar-org-setup))
|
||||||
|
|
||||||
|
(use-package mu4e-icalendar
|
||||||
|
:after (mu4e org-agenda khalel)
|
||||||
|
:custom
|
||||||
|
(mu4e-icalendar-trash-after-reply nil)
|
||||||
|
:config
|
||||||
|
(require 'gnus-icalendar)
|
||||||
|
(mu4e-icalendar-setup)
|
||||||
|
(gnus-icalendar-org-setup)
|
||||||
|
(require 'khalel-icalendar))
|
||||||
|
#+end_src
|
||||||
|
*** Khalel
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-to-list 'package-selected-packages 'khalel)
|
||||||
|
(use-package khalel
|
||||||
|
:if (package-installed-p 'khalel)
|
||||||
|
:functions (khalel-add-capture-template)
|
||||||
|
:hook (org-agenda-mode . khalel-import-events)
|
||||||
|
:config
|
||||||
|
(khalel-add-capture-template "e")
|
||||||
|
:custom
|
||||||
|
(khalel-import-org-file (expand-file-name "calendar/khal.org" org-directory))
|
||||||
|
(khalel-import-org-file-read-only nil)
|
||||||
|
(khalel-import-org-file-confirm-overwrite nil)
|
||||||
|
(khalel-import-start-date "-365d")
|
||||||
|
(khalel-import-end-date "+365d"))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** MU4E
|
*** MU4E
|
||||||
Configure email with iCalendar event support, to integrate with
|
Configure email with iCalendar event support, to integrate with
|
||||||
|
@ -608,25 +644,6 @@ Configure email with iCalendar event support, to integrate with
|
||||||
(with-eval-after-load 'mu4e
|
(with-eval-after-load 'mu4e
|
||||||
(require 'mu4e-notification)
|
(require 'mu4e-notification)
|
||||||
(setq mu4e-notification-support t))
|
(setq mu4e-notification-support t))
|
||||||
|
|
||||||
(use-package gnus-icalendar
|
|
||||||
:after (org-agenda)
|
|
||||||
:custom
|
|
||||||
(gnus-icalendar-org-capture-file (expand-file-name "calendar/email.org" org-directory))
|
|
||||||
(gnus-icalendar-org-capture-headline '("Inbox"))
|
|
||||||
:config
|
|
||||||
(require 'org-agenda)
|
|
||||||
(require 'org-capture)
|
|
||||||
(gnus-icalendar-org-setup))
|
|
||||||
|
|
||||||
(use-package mu4e-icalendar
|
|
||||||
:after (mu4e org-agenda)
|
|
||||||
:custom
|
|
||||||
(mu4e-icalendar-trash-after-reply nil)
|
|
||||||
:config
|
|
||||||
(require 'gnus-icalendar)
|
|
||||||
(mu4e-icalendar-setup)
|
|
||||||
(gnus-icalendar-org-setup))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** IRC
|
*** IRC
|
||||||
** Other
|
** Other
|
||||||
|
|
Loading…
Reference in a new issue