From dfe49fee5b7e4580c81d418c4345ba9bae4fa375 Mon Sep 17 00:00:00 2001
From: Alfred Burgess <aburgess@bmhglobal.com.au>
Date: Mon, 12 Feb 2024 09:32:33 +0800
Subject: [PATCH] Splash Logo

Moved splash logo into it's own system so it is easier to modify later.
---
 lua/plugins/alpha-nvim.lua | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/lua/plugins/alpha-nvim.lua b/lua/plugins/alpha-nvim.lua
index 4f29687..470ee0a 100644
--- a/lua/plugins/alpha-nvim.lua
+++ b/lua/plugins/alpha-nvim.lua
@@ -1,18 +1,21 @@
 -- Splash screen
+
+local logo_spooky = {
+  [[ ▄▀▀▄ ▀▄  ▄▀▀█▄▄▄▄  ▄▀▀▀▀▄   ▄▀▀▄ ▄▀▀▄  ▄▀▀█▀▄    ▄▀▀▄ ▄▀▄  ]],
+  [[ █  █ █ █ ▐  ▄▀   ▐ █      █ █   █    █ █   █  █  █  █ ▀  █ ]],
+  [[ ▐  █  ▀█   █▄▄▄▄▄  █      █ ▐  █    █  ▐   █  ▐  ▐  █    █ ]],
+  [[   █   █    █    ▌  ▀▄    ▄▀    █   ▄▀      █       █    █  ]],
+  [[ ▄▀   █    ▄▀▄▄▄▄     ▀▀▀▀       ▀▄▀     ▄▀▀▀▀▀▄  ▄▀   ▄▀   ]],
+  [[ █    ▐    █    ▐                       █       █ █    █    ]],
+  [[ ▐         ▐                            ▐       ▐ ▐    ▐    ]]
+}
+
 return {
   "goolord/alpha-nvim",
   dependencies = { "nvim-tree/nvim-web-devicons" },
   config = function ()
     local dashboard = require('alpha.themes.dashboard')
-    dashboard.section.header.val = {
-      [[ ▄▀▀▄ ▀▄  ▄▀▀█▄▄▄▄  ▄▀▀▀▀▄   ▄▀▀▄ ▄▀▀▄  ▄▀▀█▀▄    ▄▀▀▄ ▄▀▄  ]],
-      [[ █  █ █ █ ▐  ▄▀   ▐ █      █ █   █    █ █   █  █  █  █ ▀  █ ]],
-      [[ ▐  █  ▀█   █▄▄▄▄▄  █      █ ▐  █    █  ▐   █  ▐  ▐  █    █ ]],
-      [[   █   █    █    ▌  ▀▄    ▄▀    █   ▄▀      █       █    █  ]],
-      [[ ▄▀   █    ▄▀▄▄▄▄     ▀▀▀▀       ▀▄▀     ▄▀▀▀▀▀▄  ▄▀   ▄▀   ]],
-      [[ █    ▐    █    ▐                       █       █ █    █    ]],
-      [[ ▐         ▐                            ▐       ▐ ▐    ▐    ]]
-    }
     require('alpha').setup( dashboard.opts )
+    dashboard.section.header.val = logo_spooky
   end
 }
-- 
GitLab