👾 Logo Updates

- Update Config Logo
- Update dashboard to use logo art files
This commit is contained in:
2024-07-10 12:38:56 -04:00
parent bbe2ebd470
commit b50e321bab
2 changed files with 28 additions and 49 deletions
+11 -36
View File
@@ -2,44 +2,20 @@ return {
"nvimdev/dashboard-nvim",
lazy = false,
opts = function()
-- if line length is greater than 80, use fancy mode
if vim.fn.winwidth(0) >= 100 then
LOGO = [[
██████╗ ██████╗ ██████╗ ████████╗██╗███████╗███████╗████████╗ ███╗ ██╗██╗ ██╗██╗███╗ ███╗
██╔══██╗██╔═══██╗██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝╚══██╔══╝ ████╗ ██║██║ ██║██║████╗ ████║
██████╔╝██║ ██║██║ ██║ ██║ ██║█████╗ ███████╗ ██║ ██╔██╗ ██║██║ ██║██║██╔████╔██║
██╔══██╗██║ ██║██║ ██║ ██║ ██║██╔══╝ ╚════██║ ██║ ██║╚██╗██║╚██╗ ██╔╝██║██║╚██╔╝██║
██║ ██║╚██████╔╝╚██████╔╝ ██║ ██║███████╗███████║ ██║ ██║ ╚████║ ╚████╔╝ ██║██║ ╚═╝ ██║
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝
]]
if vim.fn.winheight(0) >= 80 and vim.fn.winwidth(0) >= 80 then
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/rootiest.txt"), "\n")
elseif vim.fn.winheight(0) >= 48 and vim.fn.winwidth(0) >= 48 then
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/nvim.txt"), "\n")
elseif vim.fn.winwidth(0) >= 100 then
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/long.txt"), "\n")
elseif vim.fn.winwidth(0) >= 80 then
LOGO = [[
███████████ █████ ███ █████
░░███░░░░░███ ░░███ ░░░ ░░███
░███ ░███ ██████ ██████ ███████ ████ ██████ █████ ███████
░██████████ ███░░███ ███░░███░░░███░ ░░███ ███░░███ ███░░ ░░░███░
░███░░░░░███ ░███ ░███░███ ░███ ░███ ░███ ░███████ ░░█████ ░███
░███ ░███ ░███ ░███░███ ░███ ░███ ███ ░███ ░███░░░ ░░░░███ ░███ ███
█████ █████░░██████ ░░██████ ░░█████ █████░░██████ ██████ ░░█████
░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░
██████ █████ █████ █████ ███
░░██████ ░░███ ░░███ ░░███ ░░░
░███░███ ░███ ░███ ░███ ████ █████████████
░███░░███░███ ░███ ░███ ░░███ ░░███░░███░░███
░███ ░░██████ ░░███ ███ ░███ ░███ ░███ ░███
░███ ░░█████ ░░░█████░ ░███ ░███ ░███ ░███
█████ ░░█████ ░░███ █████ █████░███ █████
░░░░░ ░░░░░ ░░░ ░░░░░ ░░░░░ ░░░ ░░░░░
]]
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/tall.txt"), "\n")
elseif vim.fn.winwidth(0) >= 50 then
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/small.txt"), "\n")
else
LOGO = [[
░█▀▄░█▀█░█▀█░▀█▀░▀█▀░█▀▀░█▀▀░▀█▀░░░█▀█░█░█░▀█▀░█▄█
░█▀▄░█░█░█░█░░█░░░█░░█▀▀░▀▀█░░█░░░░█░█░▀▄▀░░█░░█░█
░▀░▀░▀▀▀░▀▀▀░░▀░░▀▀▀░▀▀▀░▀▀▀░░▀░░░░▀░▀░░▀░░▀▀▀░▀░▀
]]
LOGO = table.concat(vim.fn.readfile(vim.fn.stdpath("config") .. "/logo/tiny.txt"), "\n")
end
LOGO = string.rep("\n", 8) .. LOGO .. "\n\n"
LOGO = "\n\n" .. LOGO .. "\n\n"
local opts = {
theme = "doom",
hide = {
@@ -95,4 +71,3 @@ return {
return opts
end,
}