Explorar o código

Added more config

Eiyeron Fulmincendii %!s(int64=7) %!d(string=hai) anos
pai
achega
e292d0663b
Modificáronse 1 ficheiros con 22 adicións e 6 borrados
  1. 22 6
      packages.el

+ 22 - 6
packages.el

@@ -30,8 +30,12 @@
 ;;; Code:
 
 (defconst chicken-dotfiles-packages
-    '()
-"The list of Lisp packages required by the chicken-dotfiles layer.
+  '(
+    org-mode
+    org-agenda
+    org-bullet
+    )
+  "The list of Lisp packages required by the chicken-dotfiles layer.
 
 Each entry is either:
 
@@ -57,7 +61,7 @@ installed using the Emacs package manager.
 
 - A list beginning with the symbol `recipe' is a melpa
 recipe.  See: https://github.com/milkypostman/melpa#recipe-format"
-)
+  )
 
 (defun chicken-dotfiles/init-org-bullet()
   (use-package org-bullet
@@ -65,7 +69,20 @@ recipe.  See: https://github.com/milkypostman/melpa#recipe-format"
     :init
     (setq org-bullets-bullet-list '("◉" "○" "⬡" "⬢" "■" "□" "◈" "◇"))
     )
-)
+  )
+
+(defun chicken-dotfiles/init-org-agenda()
+  (use-package org-agenda
+    :defer t
+    :init
+    (setq org-agenda-to-appt t)
+    (setq org-agenda-include-diary t)
+    (setq org-agenda-files (list
+                            "~/Notes/Agenda/birthdays.org"
+                            ;; GTD
+                            "~/Notes/inbox.org" "~/Notes/gtd.org" "~/Notes/tickler.org"))
+    )
+  )
 
 (defun chicken-dotfiles/init-org-mode()
   (use-package org-mode
@@ -75,8 +92,7 @@ recipe.  See: https://github.com/milkypostman/melpa#recipe-format"
     (setq org-modules
           '(org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-mouse org-rmail org-w3m org-drill))
     (setq org-todo-keywords '((sequence "TODO" "WAITING" "IN PROGRESS" "|" "DONE" "CANCELLED")))
-    ; GTD
-    (setq org-agenda-files '("~/Notes/inbox.org" "~/Notes/gtd.org" "~/Notes/tickler.org"))
+                                        ; GTD inspired by https://emacs.cafe/emacs/orgmode/gtd/2017/06/30/orgmode-gtd.html
 
     (setq org-capture-templates '(("t" "Todo [inbox]" entry
                                    (file+headline "~/Notes/inbox.org" "Tasks")