From 6fc40724d2e5cdc8894caee4af6a34733d19f866 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 9 Sep 2021 01:22:23 +0800 Subject: [PATCH] Improve timemachine segment. --- doom-modeline-segments.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 2c9fcd7..e7877bd 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -2864,13 +2864,8 @@ The cdr can also be a function that returns a name to use.") (let ((active (doom-modeline--active))) (concat (doom-modeline-spc) - ;; Snapshot icon - (doom-modeline-icon 'material "camera_alt" "📷" "%1*" - :face (if active 'doom-modeline-highlight 'mode-line-inactive) - :height 1.1 :v-adjust -0.25) - (and doom-modeline-icon (doom-modeline-vspc)) (doom-modeline--buffer-mode-icon) - ;; Buffer name + (doom-modeline--buffer-state-icon) (propertize "*%b*" 'face (if active 'doom-modeline-buffer-timemachine 'mode-line-inactive)))))