fix: ensure correct logo path assignment in dashboard configuration

This commit is contained in:
2024-09-16 09:46:14 -04:00
parent a1bc76a018
commit a73a24489a
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -7,7 +7,11 @@
local M = {}
-- Define default path to the logo art
M.logo = vim.g.dash_logo or "logo/neovim.txt"
local logofile = vim.fn.stdpath("config") .. "/logo/" .. "neovim.txt"
if vim.g.dash_logo then
logofile = vim.fn.stdpath("config") .. "/logo/" .. vim.g.dash_logo
end
M.logo = logofile
--- Alpha plugin configuration
M.alpha = {