2021-02-21 02:59:11 +00:00
|
|
|
;; -*- lexical-binding: t; -*-
|
|
|
|
|
2022-07-29 15:54:25 +00:00
|
|
|
;; Icons!
|
2024-05-05 03:05:38 +00:00
|
|
|
(use-package nerd-icons)
|
2022-07-29 15:54:25 +00:00
|
|
|
|
2021-02-20 11:40:03 +00:00
|
|
|
;; 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)))
|
2021-02-20 11:40:03 +00:00
|
|
|
(dashboard-setup-startup-hook)
|
2021-02-20 16:52:15 +00:00
|
|
|
:custom
|
2024-05-05 03:05:38 +00:00
|
|
|
(dashboard-display-icons-p t)
|
|
|
|
(dashboard-icon-type 'nerd-icons)
|
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)
|