---@type LazySpec[] local dependencies = { "nvim-tree/nvim-web-devicons", "nvim-lua/plenary.nvim", } ---@type LazySpec local spec = { "goolord/alpha-nvim", --lazy = false, cmd = "Alpha", event = "VimEnter", dependencies = dependencies, config = function() local alpha = require("alpha") local theta = require("alpha.themes.theta") local button = require("alpha.themes.dashboard").button theta.header.val = require("utils.bannars").get("covid_19").Japan theta.buttons.val = { { type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } }, { type = "padding", val = 1 }, button("e", "󰝒 New file", "ene"), button("u", "󰚰 Update plugins", "Lazy sync"), button("m", "󰭠 Update mason tools", "MasonUpdateAll"), button("t", "󰐅 Update nvim-treesitter", "TSUpdate"), button("c", "󰿶 Run checkhealth", "checkhealth"), button("d", "󰝒 Run dotfyle generate", "DotfyleGenerate --keymaps"), button("q", "󰅚 Quit", "qa"), } theta.config.layout = { { type = "padding", val = 2 }, theta.header, { type = "padding", val = 2 }, theta.buttons, } alpha.setup(theta.config) end, cond = false, enabled = false, } return spec