diff options
| author | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-05-24 10:36:00 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <ariel.dalessandro@auto1.com> | 2022-05-24 10:36:00 +0200 |
| commit | 4946cee5c1c100d10e0d04d107d5e67b7eb1e99f (patch) | |
| tree | 41b115f9fe71e56cdfb3f62adda5cc397ff2e2ca /after/plugin | |
| parent | 481c04d95d6278d3c52a1386d7498afe22989710 (diff) | |
| download | nvim-conf-4946cee5c1c100d10e0d04d107d5e67b7eb1e99f.tar.gz nvim-conf-4946cee5c1c100d10e0d04d107d5e67b7eb1e99f.zip | |
Update feline winbar
Diffstat (limited to 'after/plugin')
| -rw-r--r-- | after/plugin/feline.lua | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/after/plugin/feline.lua b/after/plugin/feline.lua index 9267155..b974ef4 100644 --- a/after/plugin/feline.lua +++ b/after/plugin/feline.lua @@ -5,6 +5,7 @@ end local my_theme = { bg = '#131a24', + bg1 = '#192330', black = '#131a24', skyblue = '#719cd6', cyan = '#63cdcf', @@ -20,4 +21,41 @@ local my_theme = { feline.setup() feline.use_theme(my_theme) -feline.winbar.setup() +feline.winbar.setup({ + components = { + active = { + { + { + provider = { + name = 'file_info', + opts = { + type = 'full-path', + file_modified_icon = '[M]' + }, + }, + hl = { + bg = 'bg1', + fg = 'skyblue', + }, + } + } + }, + inactive = { + { + { + provider = { + name = 'file_info', + opts = { + type = 'full-path', + file_modified_icon = '[*]' + }, + }, + hl = { + bg = 'bg1', + fg = 'fg', + }, + } + } + } + } +}) |