mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 11:09:52 +00:00
Improve macro segment.
This commit is contained in:
parent
0a38a65d39
commit
43d0956960
1 changed files with 8 additions and 4 deletions
|
@ -955,10 +955,14 @@ lines are selected, or the NxM dimensions of a block selection."
|
||||||
(when (and (doom-modeline--active) (or defining-kbd-macro executing-kbd-macro))
|
(when (and (doom-modeline--active) (or defining-kbd-macro executing-kbd-macro))
|
||||||
(let ((sep (propertize " " 'face 'doom-modeline-panel)))
|
(let ((sep (propertize " " 'face 'doom-modeline-panel)))
|
||||||
(concat sep
|
(concat sep
|
||||||
|
(if doom-modeline-icon
|
||||||
|
(doom-modeline-icon-material "fiber_manual_record"
|
||||||
|
:face 'doom-modeline-panel
|
||||||
|
:v-adjust (/ -0.27 all-the-icons-scale-factor))
|
||||||
(propertize (if (bound-and-true-p evil-this-macro)
|
(propertize (if (bound-and-true-p evil-this-macro)
|
||||||
(char-to-string evil-this-macro)
|
(char-to-string evil-this-macro)
|
||||||
"Macro")
|
"Macro")
|
||||||
'face 'doom-modeline-panel)
|
'face 'doom-modeline-panel))
|
||||||
sep
|
sep
|
||||||
(if doom-modeline-icon
|
(if doom-modeline-icon
|
||||||
(doom-modeline-icon-octicon "triangle-right"
|
(doom-modeline-icon-octicon "triangle-right"
|
||||||
|
|
Loading…
Reference in a new issue