2024-08-14 15:50:53 +00:00
|
|
|
return {
|
|
|
|
'goolord/alpha-nvim',
|
2024-08-15 18:11:07 +00:00
|
|
|
dependencies = {
|
|
|
|
"nvim-telescope/telescope.nvim"
|
|
|
|
},
|
2024-08-14 15:50:53 +00:00
|
|
|
config = function()
|
|
|
|
local alpha = require 'alpha'
|
|
|
|
local dashboard = require 'alpha.themes.dashboard'
|
|
|
|
|
2024-08-14 16:15:07 +00:00
|
|
|
local frappe = require("catppuccin.palettes").get_palette "frappe"
|
|
|
|
|
2024-08-15 18:11:07 +00:00
|
|
|
vim.api.nvim_set_hl(0, 'DashboardHeader', { fg = frappe.lavender })
|
2024-08-14 18:34:34 +00:00
|
|
|
|
2024-08-14 15:50:53 +00:00
|
|
|
dashboard.section.header.val = {
|
2024-08-14 23:50:56 +00:00
|
|
|
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⡀⠒⠒⠦⣄⡀⠀⠀⠀⠀⠀⠀⠀",
|
|
|
|
"⠀⠀⠀⠀⠀⢀⣤⣶⡾⠿⠿⠿⠿⣿⣿⣶⣦⣄⠙⠷⣤⡀⠀⠀⠀⠀",
|
|
|
|
"⠀⠀⠀⣠⡾⠛⠉⠀⠀⠀⠀⠀⠀⠀⠈⠙⠻⣿⣷⣄⠘⢿⡄⠀⠀⠀",
|
|
|
|
"⠀⢀⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠐⠂⠠⢄⡀⠈⢿⣿⣧⠈⢿⡄⠀⠀",
|
|
|
|
"⢀⠏⠀⠀⠀⢀⠄⣀⣴⣾⠿⠛⠛⠛⠷⣦⡙⢦⠀⢻⣿⡆⠘⡇⠀⠀",
|
|
|
|
"⠀⠀⠀⠀⡐⢁⣴⡿⠋⢀⠠⣠⠤⠒⠲⡜⣧⢸⠄⢸⣿⡇⠀⡇⠀⠀",
|
|
|
|
"⠀⠀⠀⡼⠀⣾⡿⠁⣠⢃⡞⢁⢔⣆⠔⣰⠏⡼⠀⣸⣿⠃⢸⠃⠀⠀",
|
|
|
|
"⠀⠀⢰⡇⢸⣿⡇⠀⡇⢸⡇⣇⣀⣠⠔⠫⠊⠀⣰⣿⠏⡠⠃⠀⠀⢀",
|
|
|
|
"⠀⠀⢸⡇⠸⣿⣷⠀⢳⡈⢿⣦⣀⣀⣀⣠⣴⣾⠟⠁⠀⠀⠀⠀⢀⡎",
|
|
|
|
"⠀⠀⠘⣷⠀⢻⣿⣧⠀⠙⠢⠌⢉⣛⠛⠛⠉⠀⠀⠀⠀⠀⠀⣠⠎⠀",
|
|
|
|
"⠀⠀⠀⠹⣧⡀⠻⣿⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⡾⠃⠀⠀",
|
|
|
|
"⠀⠀⠀⠀⠈⠻⣤⡈⠻⢿⣿⣷⣦⣤⣤⣤⣤⣤⣴⡾⠛⠉⠀⠀⠀⠀",
|
|
|
|
"⠀⠀⠀⠀⠀⠀⠈⠙⠶⢤⣈⣉⠛⠛⠛⠛⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀",
|
|
|
|
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀"
|
2024-08-14 15:50:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dashboard.section.header.opts.hl = 'DashboardHeader'
|
|
|
|
|
2024-08-14 23:50:56 +00:00
|
|
|
|
2024-08-14 18:05:47 +00:00
|
|
|
dashboard.section.buttons.val = {
|
|
|
|
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),
|
|
|
|
dashboard.button("f", " Find file", ":Telescope find_files <CR>"),
|
2024-08-15 18:11:07 +00:00
|
|
|
dashboard.button("p", " Open project", ":Telescope projects<CR>"),
|
2024-08-14 18:05:47 +00:00
|
|
|
}
|
2024-08-14 15:50:53 +00:00
|
|
|
alpha.setup(dashboard.opts)
|
|
|
|
end
|
|
|
|
};
|