custom-hypr - add: nvim config
This commit is contained in:
41
.config/nvim/lua/plugins/ui.lua
Normal file
41
.config/nvim/lua/plugins/ui.lua
Normal file
@@ -0,0 +1,41 @@
|
||||
-- Plugins related to UI
|
||||
return {
|
||||
{
|
||||
"goolord/alpha-nvim",
|
||||
dependencies = { "echasnovski/mini.icons" },
|
||||
opts = function(_, opts)
|
||||
-- customize the dashboard header
|
||||
opts.section.header.val = require("plugins.configs.ui.alpha")[10]
|
||||
opts.section.buttons.val = {}
|
||||
end,
|
||||
-- config = function() require("alpha").setup(require("alpha.themes.startify").config) 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" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user