From 891960df1400a9aa5f76fec502e52591e9350931 Mon Sep 17 00:00:00 2001 From: bh Date: Mon, 15 Dec 2025 22:04:22 +0800 Subject: Added icons to Dired --- config/dashboard.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'config/dashboard.el') diff --git a/config/dashboard.el b/config/dashboard.el index f5496ce..a9c07b5 100644 --- a/config/dashboard.el +++ b/config/dashboard.el @@ -1,4 +1,5 @@ ;; Dashboard - Startup screen + (use-package dashboard :config ;; Use text banner from file @@ -16,6 +17,23 @@ :foreground "#8affff" :weight 'bold) + ;; Customize section heading colors (Recent Files, Projects, etc.) + (set-face-attribute 'dashboard-heading nil + :foreground "#ffc600" + :weight 'bold) + + ;; Enable Nerd Font icons + (setq dashboard-icon-type 'nerd-icons) + (setq dashboard-set-heading-icons t) + (setq dashboard-set-file-icons t) + + ;; Customize heading icons (optional - comment out to use defaults) + (setq dashboard-heading-icons '((recents . "nf-oct-history") + (bookmarks . "nf-oct-bookmark") + (projects . "nf-oct-rocket") + (agenda . "nf-oct-calendar") + (registers . "nf-oct-database"))) + ;; Center content (setq dashboard-center-content t) (setq dashboard-vertically-center-content t) -- cgit v1.2.3