Files
AstroVim_Config/lua/plugins/ui.lua
2024-11-03 19:33:51 +07:00

40 lines
1016 B
Lua

-- Plugins related to UI
return {
{
"goolord/alpha-nvim",
opts = function(_, opts)
-- customize the dashboard header
opts.section.header.val = require("plugins.configs.ui.alpha")[10]
opts.section.buttons.val = {}
end,
},
{
"rebelot/heirline.nvim",
opts = function(_, opts)
opts.statusline = require("plugins.configs.ui.heirline").statusline
opts.winbar = require("plugins.configs.ui.heirline").winbar
end,
},
{
"rcarriga/nvim-notify",
opts = function(_, opts)
-- Do this to prevent the warning
opts.background_colour = "#000000"
opts.timeout = 2000
opts.fps = 60
opts.render = "compact"
opts.top_down = false
end,
},
-- Transparent background
{
"xiyaowong/transparent.nvim",
lazy = false,
opts = function(_, opts) opts = require "plugins.configs.ui.transparent"(opts) end,
keys = {
{ "<Leader>uT", "<Cmd>TransparentToggle<CR>", desc = "Toggle transparent" },
},
},
}