mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Improve git-timemachine segment.
This commit is contained in:
parent
49057a1cfa
commit
5e23b0cb34
1 changed files with 5 additions and 4 deletions
|
@ -2255,20 +2255,21 @@ The cdr can also be a function that returns a name to use.")
|
||||||
(concat
|
(concat
|
||||||
(doom-modeline-spc)
|
(doom-modeline-spc)
|
||||||
|
|
||||||
(doom-modeline--buffer-mode-icon)
|
(let (doom-modeline-major-mode-color-icon)
|
||||||
|
(doom-modeline--buffer-mode-icon))
|
||||||
|
|
||||||
;; snapshot icon
|
;; snapshot icon
|
||||||
(doom-modeline-buffer-file-state-icon
|
(doom-modeline-buffer-file-state-icon
|
||||||
"camera_alt"
|
"camera_alt"
|
||||||
"%1*"
|
"%1*"
|
||||||
(if active 'warning 'mode-line-inactive)
|
(if active 'mode-line 'mode-line-inactive)
|
||||||
1.1
|
1.2
|
||||||
-0.25)
|
-0.25)
|
||||||
(doom-modeline-vspc)
|
(doom-modeline-vspc)
|
||||||
|
|
||||||
;; buffer name
|
;; buffer name
|
||||||
(propertize "%b" 'face (if active
|
(propertize "%b" 'face (if active
|
||||||
'doom-modeline-buffer-file
|
'(inherit (font-lock-doc-face bold))
|
||||||
'mode-line-inactive)))))
|
'mode-line-inactive)))))
|
||||||
|
|
||||||
(provide 'doom-modeline-segments)
|
(provide 'doom-modeline-segments)
|
||||||
|
|
Loading…
Reference in a new issue