21 lines
628 B
EmacsLisp
21 lines
628 B
EmacsLisp
;; -*- lexical-binding: t; -*-
|
|
|
|
;; A neat dashboard when you open Emacs
|
|
(use-package dashboard
|
|
:demand t
|
|
:config
|
|
(let ((pic (expand-file-name (concat user-emacs-directory "images/hallows.png"))))
|
|
(when (file-exists-p pic)
|
|
(setq dashboard-startup-banner pic)))
|
|
(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)
|