mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Put the global segment to the first of the right panel.
This commit is contained in:
parent
88b3f84bdd
commit
773382202e
1 changed files with 5 additions and 5 deletions
|
@ -1035,7 +1035,7 @@ enabled."
|
|||
(doom-modeline-def-segment global
|
||||
"For the time string and whatever uses global-mode-string."
|
||||
(when (< 0 (length global-mode-string))
|
||||
'(" " global-mode-string)))
|
||||
'(" " global-mode-string " ")))
|
||||
|
||||
|
||||
;;
|
||||
|
@ -1073,7 +1073,7 @@ See `mode-line-percent-position'.")
|
|||
|
||||
(doom-modeline-def-modeline main
|
||||
(workspace-number window-number bar matches " " buffer-info buffer-position " " selection-info)
|
||||
(buffer-encoding major-mode vcs flycheck global))
|
||||
(global buffer-encoding major-mode vcs flycheck))
|
||||
|
||||
(doom-modeline-def-modeline minimal
|
||||
(bar matches " " buffer-info)
|
||||
|
@ -1081,15 +1081,15 @@ See `mode-line-percent-position'.")
|
|||
|
||||
(doom-modeline-def-modeline special
|
||||
(window-number bar matches " " buffer-info-simple buffer-position " " selection-info)
|
||||
(buffer-encoding major-mode flycheck global))
|
||||
(global buffer-encoding major-mode flycheck))
|
||||
|
||||
(doom-modeline-def-modeline project
|
||||
(window-number bar buffer-default-directory)
|
||||
(major-mode global))
|
||||
(global major-mode))
|
||||
|
||||
(doom-modeline-def-modeline media
|
||||
(window-number bar " %b ")
|
||||
(media-info major-mode global))
|
||||
(global media-info major-mode))
|
||||
|
||||
;;
|
||||
;; Hooks
|
||||
|
|
Loading…
Reference in a new issue