2021-02-21 02:59:11 +00:00
|
|
|
;; -*- lexical-binding: t; -*-
|
|
|
|
|
2021-02-20 11:40:03 +00:00
|
|
|
;; A neat dashboard when you open Emacs
|
|
|
|
(use-package dashboard
|
|
|
|
:demand t
|
|
|
|
:config
|
2022-03-30 13:56:10 +00:00
|
|
|
(let ((pic (expand-file-name (concat user-emacs-directory "images/hallows.png"))))
|
|
|
|
(when (file-exists-p pic)
|
|
|
|
(setq dashboard-startup-banner pic)))
|
2021-02-20 11:40:03 +00:00
|
|
|
(dashboard-setup-startup-hook)
|
2021-02-21 16:43:07 +00:00
|
|
|
(evil-collection-dashboard-setup)
|
2021-02-20 16:52:15 +00:00
|
|
|
:custom
|
2021-02-21 14:44:36 +00:00
|
|
|
(dashboard-items '((projects . 5) (recents . 5)))
|
2021-02-20 16:52:15 +00:00
|
|
|
(dashboard-set-heading-icons t)
|
|
|
|
(dashboard-set-file-icons t)
|
2021-02-21 14:44:36 +00:00
|
|
|
(dashboard-set-navigator t)
|
|
|
|
(dashboard-set-footer nil)
|
|
|
|
(dashboard-banner-logo-title "Draco dormiens nunquam titillandus"))
|
2021-02-20 11:40:03 +00:00
|
|
|
|
|
|
|
(provide 'init-dashboard)
|