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

20 lines
618 B
EmacsLisp
Raw Normal View History

2021-02-21 02:59:11 +00:00
;; -*- lexical-binding: t; -*-
;; 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")))
(dashboard-setup-startup-hook)
(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"))
(provide 'init-dashboard)