From 4946cee5c1c100d10e0d04d107d5e67b7eb1e99f Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Tue, 24 May 2022 10:36:00 +0200 Subject: Update feline winbar --- after/plugin/feline.lua | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'after/plugin') 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', + }, + } + } + } + } +}) -- cgit v1.2.3