From c89048b52912c9635fff96a8cc65d0bb266d6ba8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 13 Aug 2018 11:01:08 +0800 Subject: [PATCH] Only enable process segment in the active window. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index e6622d0..25dbb9f 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -628,7 +628,7 @@ directory, the file name, and its state (modified, read-only or non-existent)." (doom-modeline-def-segment process "The process info." - (if mode-line-process + (if (and (doom-modeline--active) mode-line-process) mode-line-process ""))