diff --git a/doom-modeline.el b/doom-modeline.el index 7c2839c..89e8e07 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -1398,6 +1398,11 @@ See `mode-line-percent-position'.") (with-current-buffer bname (doom-modeline-set-modeline 'main))))) +;;;###autoload +(defun doom-modeline-set-minimal-modeline () + "Set sepcial mode-line." + (doom-modeline-set-modeline 'minimal)) + ;;;###autoload (defun doom-modeline-set-special-modeline () "Set sepcial mode-line." @@ -1422,6 +1427,7 @@ See `mode-line-percent-position'.") (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