diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2ea2b8a..ef76dfc 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -234,6 +234,29 @@ value `italic'." " : " (:eval (breadcrumb-imenu-crumbs)))))) +;; dashboard +(package-install 'dashboard) +(require 'dashboard) +(setq dashboard-banner-logo-title (concat "Welcome to GNU Emacs, one " + "component of the GNU/Linux " + "operating system.") + dashboard-startup-banner "~/pix/jemacs-book.png" + dashboard-center-content t + dashboard-vertically-center-content t + dashboard-items '((bookmarks . 4) + (recents . 4)) + dashboard-footer-messages + (list + "At its core is an interpreter for Emacs Lisp." + "Merely an interface to your code." + "“We don't use the term ‘corelibs,’ and I am not sure what that would mean.”" + "50 years and Dired is still the best file manager on the planet") + initial-buffer-choice (lambda () + (get-buffer-create dashboard-buffer-name))) +(add-hook 'after-init-hook 'dashboard-insert-startupify-lists) +(add-hook 'after-init-hook 'dashboard-initialize) +(dashboard-setup-startup-hook) + ;; faces (require 'cus-edit) ; custom faces (let @@ -269,7 +292,8 @@ value `italic'." :background "#181825" :foreground ,accent) (anzu-mode-line :foreground ,accent) - (breadcrumb-imenu-leaf-face :foreground ,accent)))) + (breadcrumb-imenu-leaf-face :foreground ,accent) + (dashboard-heading :foreground ,accent :height 1.1 :weight bold)))) ;; custom (setq custom-file "~/.emacs.d/custom.el") @@ -285,26 +309,6 @@ value `italic'." (package-install 'nyan-mode) (nyan-mode) -;; dashboard -(package-install 'dashboard) -(setq dashboard-banner-logo-title "Welcome to GNU Emacs, one component of the GNU/Linux operating system." - dashboard-startup-banner "~/pix/jemacs-book.png" - dashboard-center-content t - dashboard-vertically-center-content t - dashboard-items '((bookmarks . 4) - (recents . 4)) - dashboard-footer-messages (list - "At its core is an interpreter for Emacs Lisp." - "Merely an interface to your code." - "“We don't use the term ‘corelibs,’ and I am not sure what that would mean.”" - "50 years and Dired is still the best file manager on the planet") - initial-buffer-choice (lambda () - (get-buffer-create dashboard-buffer-name))) - -(add-hook 'after-init-hook 'dashboard-insert-startupify-lists) -(add-hook 'after-init-hook 'dashboard-initialize) -(dashboard-setup-startup-hook) - ;; mu4e (let ((mu4e-file "~/.emacs.d/mu4e.el")) (when (file-exists-p mu4e-file)