nvim/.latestBackup/after/plugin/dash.lua
davidon-top 9d3d05066f yay
2023-08-02 16:39:49 +02:00

44 lines
1.5 KiB
Lua
Executable file

-- local db = require('dashboard')
--
local header = {"",
" /$$ /$$ /$$ /$$ /$$ ",
"| $$$ | $$ | $$ | $$|__/ ",
"| $$$$| $$ /$$$$$$ /$$$$$$ | $$ | $$ /$$ /$$$$$$/$$$$ ",
"| $$ $$ $$ /$$__ $$ /$$__ $$| $$ / $$/| $$| $$_ $$_ $$",
"| $$ $$$$| $$$$$$$$| $$ \\ $$ \\ $$ $$/ | $$| $$ \\ $$ \\ $$",
"| $$\\ $$$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$",
"| $$ \\ $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$",
"|__/ \\__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/",
"",
"",
"",
"",
"",
"",
"",
}
-- db.custom_header = header
-- db.custom_center = {
-- {
-- icon = ' ',
-- desc ='File Browser ',
-- action = 'Telescope file_browser',
-- shortcut = 'SPC e e'
-- },
-- }
local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = header
dashboard.section.buttons.val = {
dashboard.button("SPC e e", " File Tree", ":NeoTreeFloatToggle<cr>"),
dashboard.button("op", "Open Project", ":OP<cr>"),
dashboard.button("oc", "Open Config", ":Config<cr>"),
}
-- dashboard.section.footer.opts.hl = "Constant"
-- dashboard.section.header.opts.hl = "Include"
-- dashboard.section.buttons.opts.hl = "Function"
-- dashboard.section.buttons.opts.hl_shortcut = "Type"
dashboard.opts.opts.noautocmd = true
require("alpha").setup(dashboard.opts)