Random image for my startup dashboard

Not that I restart Emacs that often, but ...
This commit is contained in:
Howard Abrams 2025-01-16 11:59:50 -08:00
parent 1ecf9aa6a2
commit e36ae58ae0
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View file

@ -9,3 +9,4 @@
/elisp/gourmet.el
/elisp/wd-imaas.el
/ha-theme-results.org
/support/dashboard

View file

@ -139,7 +139,11 @@ The [[https://github.com/emacs-dashboard/emacs-dashboard][emacs-dashboard]] proj
(native-comp-available-p))
"with Native Compilation" "")
(ha-dashboard-version))
dashboard-startup-banner "~/src/hamacs/support/levitating-gnu.png"
;; Choose a random image from my collection of startup images:
dashboard-startup-banner (thread-first "~/src/hamacs/support/dashboard"
(directory-files t (rx ".png"))
(seq-random-elt))
dashboard-center-content t
dashboard-set-init-info t
dashboard-projects-switch-function 'project-switch-project

View file

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 130 KiB