restructure to keep blue pip on alpha screen

This commit is contained in:
Mitchell Hingley
2026-09-03 09:24:38 -04:00
parent b2019a18ee
commit 905e93201f
3 changed files with 25 additions and 69 deletions
+3 -1
View File
@@ -32,10 +32,11 @@ require("lazy").setup({
spec = {
-- import your plugins
{ import = "plugins" },
},
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
install = { colorscheme = { colScheme.name } },
{ import = "pluginsLate" },
},
-- automatically check for plugin updates
checker = {
enabled = true,
@@ -43,6 +44,7 @@ require("lazy").setup({
},
})
vim.cmd("colorscheme " .. colScheme.name);
vim.api.nvim_set_hl(0, "alphaheader", {fg = "#3661cf" })
--setup colour indents
local highlight = {
-56
View File
@@ -1,56 +0,0 @@
return {
"goolord/alpha-nvim",
config = function ()
local alpha = require'alpha'
--local colours = require 'material.colors'
vim.api.nvim_set_hl(0, "alphaheader", {fg = "#3661cf" })
--vim.api.nvim_set_hl(0, "alphafooter", {fg = colours.main.darkpurple })
local dashboard = require'alpha.themes.dashboard'
dashboard.section.header.val = {
[[ ░░░░░░░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░▒▓▒░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░░▒██▓░░░░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░▓████▓░░░░░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░▒██████▓░░░░░░░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░▓████████▒░░░░░░░░░░░░░░░░░ ]],
[[░░░░░░░░░░░░░░▒███████████▓░░░░░░░░░░░░░░░░░]],
[[░░░░░░░░░░░░░▓██████████████▒░░░░░░░░░░░░░░░]],
[[░░░░░░░░░░░░▓████████████████▓░░░░░░░░░░░░░░]],
[[░░░░░░░░░░░▓███████████████▓▓██▒░░░░░░░░░░░░]],
[[░░░░░░░░░░▒████████████████▓░▒██▒░░░░░░░░░░░]],
[[░░░░░░░░░░▒███████████████▓▒░░▓█▓░░░░░░░░░░░]],
[[ ░░░░░░░░░▒███████████████▓░░░▓█▓▒░░░░░░░░░ ]],
[[ ░░░░░░░░░░▓████████████████████▓░░░░░░░░░░ ]],
[[ ░░░░░░░░▒▓██████████████████▓░░░░░░░░░ ]],
[[ ░░░░░░░░░▓████████████████▒░░░░░░░░░ ]],
[[ ░░░░░░░░▒▓██████████▓▒░░░░░░░░ ]],
[[ ░░░░░░░░░░░░▒▒░░░░░░░░░░░░ ]],
[[ ░░░░░░░░░░░░░░░░░░ ]],
}
dashboard.section.header.opts.hl = "alphaheader"
dashboard.section.buttons.val = {
dashboard.button("f", " search file in cwd", ":FzfLua files<cr>"),
dashboard.button("g", " GIT", ":LazyGit<cr>"),
dashboard.button("-", " explore cwd", ":Oil --float<cr>"),
dashboard.button("e", " new file", ":ene <bar> startinsert <cr>"),
dashboard.button("t", " change theme", ":FzfLua colorschemes<cr>"),
dashboard.button("l", " Lazy settings", ":Lazy<cr>"),
dashboard.button("q", "󰅚 quit nvim", ":qa<cr>"),
}
local handle = io.popen('fortune')
local fortune = handle:read("*a")
handle:close()
dashboard.section.footer.val = {
[["we define the boundaries of reality;]],
[[they don't define us."]],
[[ -Teferi]]
}
dashboard.section.footer.opts.hl = "alphafooter"
dashboard.config.opts.noautocmd = true
vim.cmd[[autocmd user alphaready echo 'ready']]
alpha.setup(dashboard.config)
end
}