Add dashboard back

This commit is contained in:
Evie Litherland-Smith 2025-02-10 10:58:13 +00:00
parent fb6cad4142
commit 47e91b0712

22
init.el
View file

@ -138,6 +138,28 @@
(size-indication-mode -1) (size-indication-mode -1)
(poke-line-global-mode +1)) (poke-line-global-mode +1))
(use-package dashboard
:if (package-installed-p 'dashboard)
:demand t
:functions (dashboard-setup-startup-hook)
:config
(dashboard-setup-startup-hook)
:custom
(dashboard-center-content t)
(dashboard-vertical-center-content t)
(dashboard-show-shortcuts t)
(dashboard-set-init-info t)
(dashboard-icon-type 'nerd-icons)
(dashboard-set-file-icons t)
(dashboard-set-heading-icons t)
(dashboard-projects-backend 'project-el)
(dashboard-items '((projects . 20)))
(dashboard-heading-icons '((recents . "nf-oct-history")
(bookmarks . "nf-oct-bookmark")
(agenda . "nf-oct-calendar")
(projects . "nf-oct-rocket")
(registers . "nf-oct-database"))))
(use-package olivetti (use-package olivetti
:if (package-installed-p 'olivetti) :if (package-installed-p 'olivetti)
:hook (text-mode) :hook (text-mode)