From 01cff7701b4448c01a72c782c393bc5d08f020b9 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 18 Jul 2019 20:04:39 +0800 Subject: [PATCH] Revert "Improve git-timemachine segment." This reverts commit 5e23b0cb34bf05d0cff039d72a55ed77172bf555. --- doom-modeline-segments.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 4a9b126..a90c631 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -2255,21 +2255,20 @@ The cdr can also be a function that returns a name to use.") (concat (doom-modeline-spc) - (let (doom-modeline-major-mode-color-icon) - (doom-modeline--buffer-mode-icon)) + (doom-modeline--buffer-mode-icon) ;; snapshot icon (doom-modeline-buffer-file-state-icon "camera_alt" "%1*" - (if active 'mode-line 'mode-line-inactive) - 1.2 + (if active 'warning 'mode-line-inactive) + 1.1 -0.25) (doom-modeline-vspc) ;; buffer name - (propertize "%b" 'face (if active - '(inherit (font-lock-doc-face bold)) + (propertize "*%b*" 'face (if active + 'doom-modeline-buffer-file 'mode-line-inactive))))) (provide 'doom-modeline-segments)