Only enable process segment in the active window.

This commit is contained in:
Vincent Zhang 2018-08-13 11:01:08 +08:00
parent 82cca4bd57
commit c89048b529

View file

@ -628,7 +628,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
(doom-modeline-def-segment process (doom-modeline-def-segment process
"The process info." "The process info."
(if mode-line-process (if (and (doom-modeline--active) mode-line-process)
mode-line-process mode-line-process
"")) ""))