Highlight workspace number.

This commit is contained in:
Vincent Zhang 2018-08-12 01:27:18 +08:00
parent 226a15cf7d
commit 435634083d

View file

@ -181,9 +181,6 @@ active.")
(defface doom-modeline-inactive-bar '((t (:inherit warning :inverse-video t))) (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.") "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 ;; Modeline library
@ -942,7 +939,8 @@ enabled."
(str (if (and tag (< 0 (length tag))) (str (if (and tag (< 0 (length tag)))
tag tag
(when num (int-to-string num))))) (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)))
"")) ""))