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

25 lines
696 B
EmacsLisp

;; -*- lexical-binding: t; -*-
;; Icons!
(use-package nerd-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)
:custom
(dashboard-display-icons-p t)
(dashboard-icon-type 'nerd-icons)
(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)