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

24 lines
667 B
EmacsLisp

;; -*- lexical-binding: t; -*-
;; Icons!
(use-package all-the-icons)
;; 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)