fix dashboard autostart

This commit is contained in:
2023-11-04 20:00:29 +01:00
parent c43933e9f6
commit 3894350a6a

View File

@@ -194,7 +194,6 @@ DISPLAY-START: `integer', e.g. 3820"
)) ))
(use-package dashboard (use-package dashboard
:after (all-the-icons)
:delight (dashboard-mode "Db") ;; "\u01F153 :delight (dashboard-mode "Db") ;; "\u01F153
:config :config
;; see `dashboad-widget' ;; see `dashboad-widget'
@@ -209,6 +208,7 @@ DISPLAY-START: `integer', e.g. 3820"
(projects . "rocket") (projects . "rocket")
(registers . "database"))) (registers . "database")))
(if (display-graphic-p) (if (display-graphic-p)
(require 'all-the-icons)
(setq dashboard-navigator-buttons (setq dashboard-navigator-buttons
;; list of lines having list of elements ;; list of lines having list of elements
;; element: (icon title help action face prefix suffix) ;; element: (icon title help action face prefix suffix)