mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Improve timemachine segment.
This commit is contained in:
parent
16c654c121
commit
6fc40724d2
1 changed files with 1 additions and 6 deletions
|
@ -2864,13 +2864,8 @@ The cdr can also be a function that returns a name to use.")
|
||||||
(let ((active (doom-modeline--active)))
|
(let ((active (doom-modeline--active)))
|
||||||
(concat
|
(concat
|
||||||
(doom-modeline-spc)
|
(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)
|
(doom-modeline--buffer-mode-icon)
|
||||||
;; Buffer name
|
(doom-modeline--buffer-state-icon)
|
||||||
(propertize "*%b*" 'face (if active
|
(propertize "*%b*" 'face (if active
|
||||||
'doom-modeline-buffer-timemachine
|
'doom-modeline-buffer-timemachine
|
||||||
'mode-line-inactive)))))
|
'mode-line-inactive)))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue