fix : make inactive statuslines as thin lines
This commit is contained in:
parent
98ec153e8f
commit
cb3c5682a8
|
@ -71,13 +71,8 @@ bg("PmenuThumb", nord_blue)
|
||||||
|
|
||||||
-- misc
|
-- misc
|
||||||
fg("LineNr", grey)
|
fg("LineNr", grey)
|
||||||
|
|
||||||
fg("NvimInternalError", red)
|
fg("NvimInternalError", red)
|
||||||
|
|
||||||
-- inactive statuslines as thin splitlines
|
|
||||||
fg("StatusLineNC", one_bg2 .. " gui=underline")
|
|
||||||
fg("VertSplit", one_bg2)
|
fg("VertSplit", one_bg2)
|
||||||
-- fg_bg("Visual",light_grey, colors.lightbg)
|
|
||||||
|
|
||||||
if ui.transparency then
|
if ui.transparency then
|
||||||
bg("Normal", "NONE")
|
bg("Normal", "NONE")
|
||||||
|
|
|
@ -55,9 +55,6 @@ local components = {
|
||||||
table.insert(components.active, {})
|
table.insert(components.active, {})
|
||||||
table.insert(components.active, {})
|
table.insert(components.active, {})
|
||||||
table.insert(components.active, {})
|
table.insert(components.active, {})
|
||||||
table.insert(components.inactive, {})
|
|
||||||
table.insert(components.inactive, {})
|
|
||||||
table.insert(components.inactive, {})
|
|
||||||
|
|
||||||
components.active[1][1] = {
|
components.active[1][1] = {
|
||||||
provider = statusline_style.main_icon,
|
provider = statusline_style.main_icon,
|
||||||
|
@ -366,6 +363,21 @@ components.active[3][10] = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local InactiveStatusHL = {
|
||||||
|
fg = colors.one_bg2,
|
||||||
|
bg = "NONE",
|
||||||
|
style = "underline",
|
||||||
|
}
|
||||||
|
|
||||||
|
components.inactive = {
|
||||||
|
{
|
||||||
|
{
|
||||||
|
provider = " ",
|
||||||
|
hl = InactiveStatusHL,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
require("feline").setup {
|
require("feline").setup {
|
||||||
colors = {
|
colors = {
|
||||||
bg = colors.statusline_bg,
|
bg = colors.statusline_bg,
|
||||||
|
|
Loading…
Reference in New Issue