add: config transparant background

This commit is contained in:
asep komarudin 2024-02-23 22:36:52 +07:00
parent 808891c37b
commit cc3044f070
5 changed files with 242 additions and 46 deletions

View file

@ -214,6 +214,33 @@ if transparent_mode ~= nil then
end
return {
-- transparant config
{
"xiyaowong/transparent.nvim",
event = "BufWinEnter",
enabled = transparent,
cmd = { "TransparentToggle", "TransparentEnable", "TransparentDisable" },
config = function()
require("transparent").clear_prefix("BufferLine")
require("transparent").clear_prefix("Lualine")
require("transparent").setup({
extra_groups = {},
exclude_groups = {
-- disable active selection backgroun
"CursorLine",
"CursorLineNR",
"CursorLineSign",
"CursorLineFold",
"Pmenu",
"PmenuSel",
"PmenuSbar",
"PmenuThumb",
"NormalFloat",
"FloatBorder",
},
})
end,
},
-- color scheme
{ "luisiacc/gruvbox-baby", lazy = true, enabled = gruvbox },
{