mirror of
https://github.com/Manoj-HV30/i3wm-ubuntu-dotfiles.git
synced 2026-05-16 19:35:23 +00:00
42 lines
2.0 KiB
Lua
42 lines
2.0 KiB
Lua
return {
|
||
"nvimdev/dashboard-nvim",
|
||
event = "VimEnter",
|
||
config = function()
|
||
require("dashboard").setup({
|
||
theme = "doom",
|
||
config = {
|
||
|
||
-- ================= HEADER =================
|
||
header = {
|
||
"",
|
||
" ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗",
|
||
" ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║",
|
||
" ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║",
|
||
" ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║",
|
||
" ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║",
|
||
" ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝",
|
||
"",
|
||
" “If it feels slow, you’re doing it wrong.”",
|
||
"",
|
||
},
|
||
|
||
-- ================= CENTER =================
|
||
center = {
|
||
{ icon = " ", desc = "New file", key = "n", action = "enew" },
|
||
{ icon = " ", desc = "Find file", key = "f", action = "Telescope find_files" },
|
||
{ icon = " ", desc = "Live grep", key = "g", action = "Telescope live_grep" },
|
||
{ icon = " ", desc = "Recent files", key = "r", action = "Telescope oldfiles" },
|
||
{ icon = " ", desc = "Quit", key = "q", action = "qa" },
|
||
},
|
||
|
||
footer = {},
|
||
},
|
||
})
|
||
|
||
-- ================= COLORS =================
|
||
vim.api.nvim_set_hl(0, "DashboardHeader", { fg = "#7aa2f7" }) -- logo
|
||
vim.api.nvim_set_hl(0, "DashboardFooter", { fg = "#9ece6a", italic = true }) -- quote
|
||
end,
|
||
}
|
||
|