From 1c97cba72b700c0800ee98d0e11f91b52d530b6b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 16 Jun 2026 01:16:48 -0500 Subject: 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. --- modules/dashboard-config.el | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 -- cgit v1.2.3