Updated assests and logos

This commit is contained in:
2024-09-22 22:06:46 +02:00
parent 2ab0d806f9
commit fa6b82a54b
3 changed files with 28 additions and 470 deletions

View File

@@ -0,0 +1,26 @@
local neovimlogo = {
[[ ]],
[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ]],
[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ]],
[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
}
local takenlogo = {
[[ ]],
[[ ████████╗ █████╗ ██╗ ██╗███████╗███╗ ██╗ ███╗ ██╗██╗ ██╗██╗███╗ ███╗ ]],
[[ ╚══██╔══╝██╔══██╗██║ ██╔╝██╔════╝████╗ ██║ ████╗ ██║██║ ██║██║████╗ ████║ ]],
[[ ██║ ███████║█████╔╝ █████╗ ██╔██╗ ██║ ██╔██╗ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║ ██╔══██║██╔═██╗ ██╔══╝ ██║╚██╗██║ ██║╚██╗██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ██║ ██║██║ ██╗███████╗██║ ╚████║██╗██║ ╚████║ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
}
return {
neovim = neovimlogo,
taken = takenlogo,
}

View File

@@ -5,45 +5,9 @@ return {
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = function()
local dashboard = require("alpha.themes.dashboard")
require("alpha.term")
local arttoggle = false
local logos = require("taken.assets.logos")
local logo = {
[[ ]],
[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ]],
[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ]],
[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
}
local art = {
-- { name, width, height }
{ "tohru", 62, 17 },
}
if arttoggle == true then
dashboard.opts.opts.noautocmd = true
dashboard.section.terminal.opts.redraw = true
local path = vim.fn.stdpath("config") .. "/assets/"
-- local random = math.random(1, #art)
local currentart = art[1]
dashboard.section.terminal.command = "cat " .. path .. currentart[1]
dashboard.section.terminal.width = currentart[2]
dashboard.section.terminal.height = currentart[3]
dashboard.opts.layout = {
dashboard.section.terminal,
{ type = "padding", val = 2 },
dashboard.section.buttons,
dashboard.section.footer,
}
else
dashboard.section.header.val = logo
end
dashboard.section.header.val = logos.taken
dashboard.section.buttons.val = {
dashboard.button("f", "" .. "Find files", ":Telescope find_files <CR>"),
dashboard.button("p", "" .. "Select project", ":Telescope neovim-project history <CR>"),