return { { "goolord/alpha-nvim", event = "VimEnter", optional = true, opts = function() local dashboard = require("alpha.themes.dashboard") local logo = [[  ███████████ █████ ██ ███████████ █████  ████████████████ ███████████ ███ ███████ ████████████████ ████████████ █████ ██████████████ ██████████████ █████████████ █████ █████ ████ █████ ██████████████████████████████████ █████ █████ ████ █████ ██████ ███ █████████████████ ████ █████ █████ ████ ██████ ]] -- local logo = [[ -- ▄ ▄ -- ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ -- █ ▄ █▄█ ▄▄▄ █ █▄█ █ █ -- ▄▄ █▄█▄▄▄█ █▄█▄█▄▄█▄▄█ █ -- ▄ █▄▄█ ▄ ▄▄ ▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ -- █▄▄▄▄ ▄▄▄ █ ▄ ▄▄▄ ▄ ▄▄▄ ▄ ▄ █ ▄ -- ▄ █ █▄█ █▄█ █ █ █▄█ █ █▄█ ▄▄▄ █ █ -- █▄█ ▄ █▄▄█▄▄█ █ ▄▄█ █ ▄ █ █▄█▄█ █ -- █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ █▄█▄▄▄█ -- ]] dashboard.section.header.val = vim.split(logo, "\n") -- stylua: ignore dashboard.section.buttons.val = { dashboard.button("f", " " .. " Find file", " Telescope find_files "), dashboard.button("n", " " .. " New file", " ene startinsert "), dashboard.button("r", " " .. " Recent files", " Telescope oldfiles "), dashboard.button("p", " " .. " Projects", "Telescope projects "), dashboard.button("g", " " .. " Find text", " Telescope live_grep "), dashboard.button("c", " " .. " Config", " lua require('lazyvim.util').telescope.config_files()() "), dashboard.button("d", "󰉦 " .. " Dotfiles", "FloatermNew --disposable --name=dots --opener=edit --titleposition=center --height=0.85 --width=0.85 dots"), dashboard.button("s", " " .. " Restore Session", [[ lua require("persistence").load() ]]), dashboard.button("e", " " .. " Lazy Extras", " LazyExtras "), dashboard.button("l", "󰒲 " .. " Lazy", " Lazy "), dashboard.button("q", " " .. " Quit", " qa "), } for _, button in ipairs(dashboard.section.buttons.val) do button.opts.hl = "AlphaButtons" button.opts.hl_shortcut = "AlphaShortcut" end dashboard.section.header.opts.hl = "AlphaHeader" dashboard.section.buttons.opts.hl = "AlphaButtons" dashboard.section.footer.opts.hl = "AlphaFooter" dashboard.opts.layout[1].val = 8 return dashboard end, }, }