From b96939a0d6f2fe240d0af322999e9d8c294794d4 Mon Sep 17 00:00:00 2001 From: David Florness Date: Mon, 14 May 2018 21:32:04 -0600 Subject: [PATCH] Setup dashboard --- init.el | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 9a5d238..56d21a5 100644 --- a/init.el +++ b/init.el @@ -20,6 +20,18 @@ (require 'setup-lisp) (require 'setup-treemacs) +(use-package dashboard + :init + (add-hook 'after-init-hook 'dashboard-refresh-buffer) + (add-hook 'dashboard-mode-hook (lambda () + (setq dashboard-banner-logo-title "Welcome"))) + (setq dashboard-items '((agenda . 5) + (projects . 5) + (bookmarks . 5))) + :config + (setq dashboard-startup-banner 'logo) + (dashboard-setup-startup-hook)) + ;;; Winner mode: allows for undoing and redoing of windoow configurations ;;; C-c : undo ;;; C-c : redo @@ -220,7 +232,6 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(column-number-mode t) - '(initial-buffer-choice "~/.emacs.d/init.el") '(initial-scratch-message "") '(show-paren-mode t)) (custom-set-faces -- 2.38.4