From fb1977df937127f63728f90702920aeaf7bce35f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Jun 2025 18:25:08 +0000 Subject: init commit --- lua/plugins/alpha.lua | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lua/plugins/alpha.lua (limited to 'lua/plugins/alpha.lua') 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 startinsert "), + dashboard.button( "Ctrl-p", "󰮗 > Find file", ":Telescope find_files"), + dashboard.button( "q", "󰗼 > Quit NVIM", ":qa"), + dashboard.button("m", "󱌣 > Mason", ":Mason"), + } + alpha.setup(dashboard.opts) + + end +} -- cgit v1.2.3