From 1adcc1f9a9f573729fe59e7c5dfb4ea4b6b90106 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 15 Aug 2018 01:02:50 +0800 Subject: [PATCH] Better looks for window numbers. --- doom-modeline.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index ed95edc..d705714 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -76,7 +76,7 @@ (defvar doom-modeline-height 29 "How tall the mode-line should be (only respected in GUI Emacs).") -(defvar doom-modeline-bar-width 3 +(defvar doom-modeline-bar-width 1 "How wide the mode-line bar should be (only respected in GUI Emacs).") (defvar doom-modeline-buffer-file-name-style 'truncate-upto-project @@ -935,7 +935,7 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions." (if (< 0 (length num)) (propertize (format " %s " num) 'face (if (doom-modeline--active) - 'doom-modeline-panel + `(:inherit doom-modeline-bar :foreground ,(face-background 'default)) 'doom-modeline-inactive-bar)) "")))