local alpha_button = astronvim.alpha_button return { layout = { { type = "padding", val = vim.fn.max({ 2, vim.fn.floor(vim.fn.winheight(0) * 0.2) }) }, { type = "text", val = astronvim.user_plugin_opts("header", { " ████ ███ █████ █████ ", " ░░███ ░░░ ░░███ ░░███ ", " ██████ ░███ ██████ ████ ███████ ░███ █████", " ░░░░░███ ░███ ███░░███░░███ ███░░███ ░███░░███ ", " ███████ ░███ ░███████ ░███ ░███ ░███ ░██████░ ", " ███░░███ ░███ ░███░░░ ░███ ░███ ░███ ░███░░███ ", "░░████████ █████░░██████ █████░░████████ ████ █████", " ░░░░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░░░░ ░░░░ ░░░░░ ", }, false), opts = { position = "center", hl = "DashboardHeader" }, }, { type = "padding", val = 5 }, { type = "group", val = { alpha_button("LDR f p", " Recent Project "), alpha_button("LDR f f", " Find File "), alpha_button("LDR o", "פּ File Explorer "), alpha_button("LDR m a", " Bookmarks "), }, opts = { spacing = 1 }, }, }, }