update dashboard

This commit is contained in:
asep komarudin 2023-01-25 16:53:42 +07:00
parent c1922396d8
commit dee1a6570b
3 changed files with 15 additions and 7 deletions

View file

@ -14,9 +14,14 @@ local board = {
[[|_| |__/ ]],
}
local custom_dasboard = require("custom.dashboard")
if custom_dasboard ~= "" then
board = custom_dasboard
local data_exists, custom_dasboard = pcall(require, "custom.dashboard")
if data_exists then
if type(custom_dasboard) == "table" then
local data_board = custom_dasboard.dashboard
if data_board ~= nil then
board = data_board
end
end
end
local dashboard = require("alpha.themes.dashboard")