diff --git a/doom-modeline.el b/doom-modeline.el index 5041dd1..6359591 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -658,7 +658,8 @@ directory, the file name, and its state (modified, read-only or non-existent)." " ")))) (if buffer-file-name (doom-modeline-update-buffer-file-name) - "%b")))) + (propertize "%b" 'face (when (doom-modeline--active) + 'doom-modeline-buffer-file)))))) (doom-modeline-def-segment buffer-info-simple "Display only the current buffer's name, but with fontification."