whompmacs/whomp/whomp-dashboard.el

30 lines
1.1 KiB
EmacsLisp
Raw Normal View History

2024-07-14 09:03:59 +00:00
(use-package dashboard
:straight t
:ensure t
:config
(dashboard-setup-startup-hook)
2024-07-14 09:03:59 +00:00
(setq dashboard-banner-logo-title (whomp/dashboard-build-logo-title whomp-help-lines))
;; "Welcome to the W.H.O.M.P. Emacs Dashboard")
(setq dashboard-startup-banner (whomp/random-string-from-list (whomp/list-files-with-extension "~/.emacs.d/logos" "png")))
(setq initial-buffer-choice (lambda () (get-buffer-create dashboard-buffer-name)))
(setq dashboard-center-content t)
(setq dashboard-vertically-center-content t)
(setq dashboard-show-shortcuts t)
(setq dashboard-items '((recents . 5)
(agenda . 5)))
2024-07-14 09:03:59 +00:00
(setq dashboard-startupify-list '(dashboard-insert-banner
dashboard-insert-newline
dashboard-insert-banner-title
dashboard-insert-newline
dashboard-insert-navigator
dashboard-insert-newline
dashboard-insert-init-info
dashboard-insert-items
dashboard-insert-newline
dashboard-insert-footer))
2024-07-14 09:03:59 +00:00
(message "W.H.O.M.P. Dashboard loaded"))
2024-07-12 23:32:01 +00:00
(provide 'whomp-dashboard)
;;; whomp-dashboard.el ends here