mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Adjust icons' position.
This commit is contained in:
parent
1ddf68939e
commit
a95440341e
1 changed files with 2 additions and 4 deletions
|
@ -679,10 +679,8 @@ buffer where knowing the current project directory is important."
|
|||
(concat
|
||||
(propertize icon
|
||||
'help-echo (format "Major-mode: `%s'" major-mode)
|
||||
'display '(raise -0.15)
|
||||
'face `(:height 1.1
|
||||
:family ,(all-the-icons-icon-family-for-mode major-mode)
|
||||
:inherit))
|
||||
'display '(raise -0.125)
|
||||
'face `(:height 1.1 :family ,(all-the-icons-icon-family-for-mode major-mode) :inherit))
|
||||
" ")))))
|
||||
(add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon)
|
||||
(add-hook 'after-save-hook 'doom-modeline-update-buffer-file-icon)
|
||||
|
|
Loading…
Reference in a new issue