diff options
author | root <root@guest.guest> | 2025-06-25 18:25:08 +0000 |
---|---|---|
committer | root <root@guest.guest> | 2025-06-25 18:25:08 +0000 |
commit | fb1977df937127f63728f90702920aeaf7bce35f (patch) | |
tree | a18a3eba105f46a4ede0fbddfdfe655d5efe506f /lua/plugins/alpha.lua |
Diffstat (limited to 'lua/plugins/alpha.lua')
-rw-r--r-- | lua/plugins/alpha.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua new file mode 100644 index 0000000..0762154 --- /dev/null +++ b/lua/plugins/alpha.lua @@ -0,0 +1,38 @@ +return { + "goolord/alpha-nvim", + dependencies = { + "nvim-tree/nvim-web-devicons", + }, + + config = function() + local alpha = require("alpha") + local dashboard = require("alpha.themes.dashboard") + + dashboard.section.header.val = { + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ", + " ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ", + " ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ", + " ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ", + " ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ", + " ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ", + " ", + } + + -- Set menu + dashboard.section.buttons.val = { + dashboard.button( "e", " > New file" , ":ene <BAR> startinsert <CR>"), + dashboard.button( "Ctrl-p", " > Find file", ":Telescope find_files<CR>"), + dashboard.button( "q", " > Quit NVIM", ":qa<CR>"), + dashboard.button("m", " > Mason", ":Mason<CR>"), + } + alpha.setup(dashboard.opts) + + end +} |