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
|
2021-10-15 14:40:32 +00:00
|
|
|
(when (file-exists-p (expand-file-name "~/Pictures/hallows.png"))
|
|
|
|
(setq dashboard-startup-banner (expand-file-name "~/Pictures/hallows.png")))
|
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)
|