mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-24 03:00:10 +00:00
Fix: font size of vcs in daemon mode.
This commit is contained in:
parent
4b74e7e9f1
commit
7285c433ae
1 changed files with 14 additions and 10 deletions
|
@ -1052,15 +1052,19 @@ Uses `all-the-icons-octicon' to fetch the icon."
|
||||||
(let ((active (doom-modeline--active)))
|
(let ((active (doom-modeline--active)))
|
||||||
(when-let ((icon (or doom-modeline--vcs-icon (doom-modeline--update-vcs-icon)))
|
(when-let ((icon (or doom-modeline--vcs-icon (doom-modeline--update-vcs-icon)))
|
||||||
(text (or doom-modeline--vcs-text (doom-modeline--update-vcs-text))))
|
(text (or doom-modeline--vcs-text (doom-modeline--update-vcs-text))))
|
||||||
(concat " "
|
(concat
|
||||||
(if active
|
" "
|
||||||
icon
|
(if active
|
||||||
(propertize icon 'face `(:height 1.2 :family ,(all-the-icons-icon-family icon) :inherit)))
|
(concat icon doom-modeline-vspc text)
|
||||||
doom-modeline-vspc
|
(concat
|
||||||
(if active
|
(propertize icon
|
||||||
text
|
'face
|
||||||
(propertize text 'face 'mode-line-inactive))
|
(if doom-modeline-icon
|
||||||
" "))))
|
`(:height 1.2 :family ,(all-the-icons-icon-family icon) :inherit)
|
||||||
|
'mode-line-inactive))
|
||||||
|
doom-modeline-vspc
|
||||||
|
(propertize text 'face 'mode-line-inactive)))
|
||||||
|
" "))))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
@ -1326,7 +1330,7 @@ icons."
|
||||||
(propertize icon
|
(propertize icon
|
||||||
'face
|
'face
|
||||||
(if doom-modeline-icon
|
(if doom-modeline-icon
|
||||||
`(:height 1.3 :family ,(all-the-icons-icon-family icon))
|
`(:height 1.3 :family ,(all-the-icons-icon-family icon :inherit))
|
||||||
'mode-line-inactive))
|
'mode-line-inactive))
|
||||||
doom-modeline-vspc
|
doom-modeline-vspc
|
||||||
(propertize text 'face 'mode-line-inactive)))
|
(propertize text 'face 'mode-line-inactive)))
|
||||||
|
|
Loading…
Reference in a new issue