whompmacs/whomp/whomp-dashboard.el

27 lines
1.3 KiB
EmacsLisp
Raw Normal View History

(straight-use-package 'dashboard)
(dashboard-setup-startup-hook)
2024-07-12 23:32:01 +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)))
(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-12 23:32:01 +00:00
(message "W.H.O.M.P. Dashboard loaded")
(provide 'whomp-dashboard)
;;; whomp-dashboard.el ends here