dotfiles/emacs/.emacs.d/config/init-dashboard.el

20 lines
628 B
EmacsLisp

;; -*- lexical-binding: t; -*-
;; A neat dashboard when you open Emacs
(use-package dashboard
:demand t
:config
(when (file-exists-p (expand-file-name "~/Sync/pictures/hallows.png"))
(setq dashboard-startup-banner (expand-file-name "~/Sync/pictures/hallows.png")))
(dashboard-setup-startup-hook)
(evil-collection-dashboard-setup)
:custom
(dashboard-items '((projects . 5) (recents . 5)))
(dashboard-set-heading-icons t)
(dashboard-set-file-icons t)
(dashboard-set-navigator t)
(dashboard-set-footer nil)
(dashboard-banner-logo-title "Draco dormiens nunquam titillandus"))
(provide 'init-dashboard)