summaryrefslogtreecommitdiff
path: root/config/dashboard.el
diff options
context:
space:
mode:
authorbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
committerbh <qn+git@excalibur.computer>2025-12-15 22:04:22 +0800
commit891960df1400a9aa5f76fec502e52591e9350931 (patch)
tree5c832d9c3dfc0ab41290d7bdc4fceddcbf2bdd62 /config/dashboard.el
parent096790cd907f4874e0e121c42b6b33a50e5105d2 (diff)
Added icons to Dired
Diffstat (limited to 'config/dashboard.el')
-rw-r--r--config/dashboard.el18
1 files changed, 18 insertions, 0 deletions
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)