From d8ad6897e5967197d7fdc66be64dc9b0a1d6208e Mon Sep 17 00:00:00 2001 From: Naz Date: Sat, 8 Feb 2025 10:10:20 +0100 Subject: =?UTF-8?q?=E2=9C=A8feat:=20add=20goolord/alpha-nvim=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/plugins/alpha.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 lua/plugins/alpha.lua diff --git a/lua/plugins/alpha.lua b/lua/plugins/alpha.lua new file mode 100644 index 0000000..5072733 --- /dev/null +++ b/lua/plugins/alpha.lua @@ -0,0 +1,32 @@ +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 = { + "", + "", + "", + "", + "", + "", + "███▄▄▄▄ ▄████████ ▄██████▄ ▄█ █▄ ▄█ ▄▄▄▄███▄▄▄▄ ", + "███▀▀▀██▄ ███ ███ ███ ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄", + "███ ███ ███ █▀ ███ ███ ███ ███ ███▌ ███ ███ ███", + "███ ███ ▄███▄▄▄ ███ ███ ███ ███ ███▌ ███ ███ ███", + "███ ███ ▀▀███▀▀▀ ███ ███ ███ ███ ███▌ ███ ███ ███", + "███ ███ ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███", + "███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███", + " ▀█ █▀ ██████████ ▀██████▀ ▀██████▀ █▀ ▀█ ███ █▀ ", + } + dashboard.section.buttons.val = { + dashboard.button("n", " new", ":ene startinsert "), + dashboard.button("f", " find", ":Telescope find_files"), + dashboard.button("r", " recent", ":Telescope oldfiles"), + dashboard.button("q", " quit", ":qa"), + } + alpha.setup(dashboard.opts) + end, +} -- cgit v1.2.3