diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-16 01:16:48 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-16 01:16:48 -0500 |
| commit | 1c97cba72b700c0800ee98d0e11f91b52d530b6b (patch) | |
| tree | 03cb63d8ffe8ccf1a533bcca0234a63c8ab80ce9 | |
| parent | 2908174f30afbce61941f19f1696539b0eb48884 (diff) | |
| download | dotemacs-1c97cba72b700c0800ee98d0e11f91b52d530b6b.tar.gz dotemacs-1c97cba72b700c0800ee98d0e11f91b52d530b6b.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.
| -rw-r--r-- | modules/dashboard-config.el | 1 |
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 |
