Updated assests and logos
This commit is contained in:
@@ -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>"),
|
||||
|
||||
Reference in New Issue
Block a user