From 435634083d4957b6202b14bf7e471f50762d0596 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 12 Aug 2018 01:27:18 +0800 Subject: [PATCH] Highlight workspace number. --- doom-modeline.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 2c6ab5b..6f6d739 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -181,9 +181,6 @@ active.") (defface doom-modeline-inactive-bar '((t (:inherit warning :inverse-video t))) "The face used for the left-most bar on the mode-line of an inactive window.") -(defface doom-modeline-eyebrowse '((t ())) - "The face used for eyebrowse.") - ;; ;; Modeline library @@ -942,7 +939,8 @@ enabled." (str (if (and tag (< 0 (length tag))) tag (when num (int-to-string num))))) - (propertize (format "%s " str) 'face 'doom-modeline-eyebrowse)) + (propertize (format " %s " str) 'face + (if (doom-modeline--active) 'doom-modeline-highlight))) ""))