#+TITLE: Don't compile this #+DESCRIPTION: Old bits and bobs that shouldn't exist anymore * Dashboard config My very own dashboard config using doom dashboard, with these features: - Custom load message - Custom splash image and dashboard buffer name - Custom dashboard sections for myself ** Benchmark display Redo the display-benchmark function to display a different message #+BEGIN_SRC elisp (defun doom-display-benchmark-h (&optional return-p) "Display a benchmark, showing number of packages and modules, and how quickly they were loaded at startup. If RETURN-P, return the message as a string instead of displaying it." (funcall (if return-p #'format #'message) "εmacs loaded %d packages, %d modules in %.03fs" (- (length load-path) (length doom--initial-load-path)) (if doom-modules (hash-table-count doom-modules) 0) (or doom-init-time (setq doom-init-time (float-time (time-subtract (current-time) before-init-time)))))) #+END_SRC ** Image and buffer name Set the splash-image and dashboard buffer name Space image comes from [[https://flaticon.com][website]] #+BEGIN_SRC elisp (setq fancy-splash-image "~/Pictures/SplashScreens/space2.png") ; splash image (setq +doom-dashboard-name "*dashboard*") #+END_SRC ** Dashboard items Set the dashboard functions (segments in overall buffer), set the sections of the interactive menu as well. #+BEGIN_SRC elisp (setq +doom-dashboard-functions ; limit the dashboard items '(doom-dashboard-widget-banner doom-dashboard-widget-loaded doom-dashboard-widget-shortmenu)) (setq +doom-dashboard-menu-sections ; Set a specific amount of items '(("Open org-agenda" :icon (all-the-icons-octicon "calendar" :face 'font-lock-keyword-face) :when (fboundp 'org-agenda) :action org-agenda) ("Jump to bookmark" :icon (all-the-icons-octicon "bookmark" :face 'font-lock-keyword-face) :action bookmark-jump) ("Open project" :icon (all-the-icons-material "folder" :face 'font-lock-keyword-face) :action projectile-switch-project))) #+END_SRC