aboutsummaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-16 01:16:48 -0500
committerCraig Jennings <c@cjennings.net>2026-06-16 01:16:48 -0500
commitd0d2610331fda9d854b195538534724b953c7dbf (patch)
treede310e96cd9289bfd2712ce72ad5dc14f0e175b5 /modules/dashboard-config.el
parent79ba783124319fa913758091120158fdc0eaa476 (diff)
downloaddotemacs-d0d2610331fda9d854b195538534724b953c7dbf.tar.gz
dotemacs-d0d2610331fda9d854b195538534724b953c7dbf.zip
feat(dashboard): per-filetype icons on the list items
I enabled dashboard-set-file-icons so the project, bookmark, and recent-file rows show nerd-icons file icons, colored per filetype. They render now that the dashboard is out of global font-lock, which was stripping the icon faces too. Bookmarks fall back to a generic icon since there's no filetype to map.
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el
index 3f3b1996e..b92162932 100644
--- a/modules/dashboard-config.el
+++ b/modules/dashboard-config.el
@@ -217,6 +217,7 @@ system-defaults) are preserved rather than overwritten."
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))) ;; don't display dashboard if opening a file
(setq dashboard-display-icons-p t) ;; display icons on both GUI and terminal
(setq dashboard-icon-type 'nerd-icons) ;; use `nerd-icons' package
+ (setq dashboard-set-file-icons t) ;; per-filetype icons on the list items (nerd-icons colors them by type)
(setq dashboard-center-content t) ;; horizontally center dashboard content
(setq dashboard-bookmarks-show-path nil) ;; don't show paths in bookmarks
(setq dashboard-recentf-show-base t) ;; show filename, not full path