mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Only show buffer name in inactive window.
This commit is contained in:
parent
d0c23229ec
commit
781ce1b3c2
1 changed files with 1 additions and 1 deletions
|
@ -657,7 +657,7 @@ directory, the file name, and its state (modified, read-only or non-existent)."
|
||||||
:face 'doom-modeline-warning
|
:face 'doom-modeline-warning
|
||||||
:v-adjust -0.05)
|
:v-adjust -0.05)
|
||||||
" ")))
|
" ")))
|
||||||
(if buffer-file-name
|
(if (and (doom-modeline--active) buffer-file-name )
|
||||||
doom-modeline-buffer-file-name
|
doom-modeline-buffer-file-name
|
||||||
"%b")))
|
"%b")))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue