mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Update mode-line for dashboard.
This commit is contained in:
parent
f8239e7f32
commit
e8c49f3149
1 changed files with 4 additions and 3 deletions
|
@ -1665,12 +1665,13 @@ mouse-1: Toggle Debug on Quit"
|
||||||
|
|
||||||
(doom-modeline-def-modeline 'project
|
(doom-modeline-def-modeline 'project
|
||||||
'(bar window-number buffer-default-directory)
|
'(bar window-number buffer-default-directory)
|
||||||
'(misc-info major-mode))
|
'(misc-info github debug " " major-mode))
|
||||||
|
|
||||||
(doom-modeline-def-modeline 'media
|
(doom-modeline-def-modeline 'media
|
||||||
'(bar window-number " %b ")
|
'(bar window-number " %b ")
|
||||||
'(misc-info media-info major-mode))
|
'(misc-info media-info major-mode))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Hooks
|
;; Hooks
|
||||||
;;
|
;;
|
||||||
|
@ -1720,16 +1721,16 @@ mouse-1: Toggle Debug on Quit"
|
||||||
"Set project mode-line."
|
"Set project mode-line."
|
||||||
(doom-modeline-set-modeline 'project))
|
(doom-modeline-set-modeline 'project))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Bootstrap
|
;; Bootstrap
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(doom-modeline-set-modeline 'main t) ; set default modeline
|
(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 '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 '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.
|
;; Versions, support Python, Ruby, Perl and Golang, etc.
|
||||||
(add-hook 'python-mode-hook
|
(add-hook 'python-mode-hook
|
||||||
|
|
Loading…
Reference in a new issue