~estraw/.emacs.d

10005f784f8bedb8f41e5ebc3f5b778f04ccfc8a — Evan Straw 3 months ago 82d8a14
Add dashboard
2 files changed, 17 insertions(+), 5 deletions(-)

M modules/module-appearance.el
M modules/module-org.el
M modules/module-appearance.el => modules/module-appearance.el +9 -0
@@ 28,6 28,15 @@ of a light theme."
      (dark-mode-off)
    (dark-mode-on)))

(use-package dashboard
  :config
  (dashboard-setup-startup-hook)
  (setq dashboard-center-content t)
  (setq dashboard-items '((recents  . 5)
                          (projects . 5)
			  (bookmarks . 5)
                          (agenda . 5))))

(use-package doom-themes
  :config
  (setq doom-themes-enable-bold t      ; If nil, bold is universally disabled

M modules/module-org.el => modules/module-org.el +8 -5
@@ 46,11 46,14 @@ strings."
      (error "Invalid argument %s in org-agenda-search-directory, string required" dir)))

  (advice-add #'org-agenda-list :around #'my/org-agenda-list-exclude-tags-advice)
  
  (setq org-agenda-files
	(append
	 '("~/Sync/notes/")
	 (org-agenda-search-directory "~/Sync/school/current")))
  (defun org-agenda-refresh-files-list ()
    (interactive)
    (setq org-agenda-files
	  (append
	   (org-agenda-search-directory "~/Sync/notes/")
	   (org-agenda-search-directory "~/Sync/school/current")))
    (setq recentf-exclude (org-agenda-files)))
  (org-agenda-refresh-files-list)
  
  (setq org-agenda-start-on-weekday 0
	org-deadline-warning-days 6