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

21 lines
628 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
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)))
(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)