From e8c49f314907d6fddbebf6305831669507e36f97 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 28 Dec 2018 18:13:42 +0800 Subject: [PATCH] Update mode-line for dashboard. --- doom-modeline.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index e17f151..0a9e843 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -1665,12 +1665,13 @@ mouse-1: Toggle Debug on Quit" (doom-modeline-def-modeline 'project '(bar window-number buffer-default-directory) - '(misc-info major-mode)) + '(misc-info github debug " " major-mode)) (doom-modeline-def-modeline 'media '(bar window-number " %b ") '(misc-info media-info major-mode)) + ;; ;; Hooks ;; @@ -1720,16 +1721,16 @@ mouse-1: Toggle Debug on Quit" "Set project mode-line." (doom-modeline-set-modeline 'project)) + ;; ;; Bootstrap ;; (doom-modeline-set-modeline 'main t) ; set default modeline +(add-hook 'dashboard-mode-hook #'doom-modeline-set-project-modeline) (add-hook 'image-mode-hook #'doom-modeline-set-media-modeline) -(add-hook 'org-src-mode-hook #'doom-modeline-set-special-modeline) (add-hook 'circe-mode-hook #'doom-modeline-set-special-modeline) -(add-hook 'dashboard-mode-hook #'doom-modeline-set-minimal-modeline) ;; Versions, support Python, Ruby, Perl and Golang, etc. (add-hook 'python-mode-hook