1
0
Fork 0
forked from nya/nvim

add alpha.nvim start screen

This commit is contained in:
bunny winter 2025-01-06 11:22:56 -06:00
parent 67d3684e94
commit 56cd8ae0bf
Signed by: nya
SSH key fingerprint: SHA256:aFOeJZAb3Y7XJxd+BReehNPp/dmurGW9M13mIayeOm0
2 changed files with 34 additions and 0 deletions

View file

@ -1,5 +1,6 @@
{
"LuaSnip": { "branch": "master", "commit": "c9b9a22904c97d0eb69ccb9bab76037838326817" },
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
"catppuccin": { "branch": "main", "commit": "f67b886d65a029f12ffa298701fb8f1efd89295d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },

33
lua/nyanko/lazy/alpha.lua Normal file
View file

@ -0,0 +1,33 @@
return {
"goolord/alpha-nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
config = function()
local theta = require("alpha.themes.theta")
local dashboard = require("alpha.themes.dashboard")
theta.header.val = {
" ⠀⠀⠀⢠⠏⡆⠀⠀⠀⠀⠀⢀⣀⣤⣤⣤⣀⡀ ",
"⠀⠀⠀⠀⠀⡟⢦⡀ ⠀⠀⣀⠞⠀⠀⠘⡀⢀⡠⠚⣉⠤⠂⠀⠀⠀⠈⠙⢦⡀ ",
"⠀⠀⠀⠀⠀⡇⠀⠉⠒⠊⠁⠀⠀⠀⠀⠀⠘⢧⠔⣉⠤⠒⠒⠉⠉⠀⠀⠀⠀⠹⣆ ",
"⠀⠀⠀⠀⠀⢰⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⠀⠀⣤⠶⠶⢶⡄⠀⠀⠀⠀⢹⡆",
"⠀⣀⠤⠒⠒⢺⠒⠀⠀⠀⠀⠀⠀⠀⠀⠤⠊⠀⢸⠀⡿⠀⡀⠀⣀⡟⠀⠀⠀⠀⢸⡇ ",
"⠈⠀⠀⣠⠴⠚⢯⡀⠐⠒⠚⠉⠀⢶⠂⠀⣀⠜⠀⢿⡀⠉⠚⠉⠀⠀⠀⠀⣠⠟ ",
"⠀⠠⠊⠀⠀⠀⠀⠙⠂⣴⠒⠒⣲⢔⠉⠉⣹⣞⣉⣈⠿⢦⣀⣀⣀⣠⡴⠟ ",
}
theta.buttons.val = {
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
{ type = "padding", val = 1 },
dashboard.button("e", "New file", "<cmd>ene<CR>"),
dashboard.button("<leader>ff", "Find file"),
dashboard.button("<leader>fg", "Live grep"),
dashboard.button("q", "Quit", "<cmd>qa<CR>"),
}
theta.file_icons.enabled = false
require("alpha").setup(theta.config)
end,
}