init.lua/lua/plugins/dashboard.lua

63 lines
2.4 KiB
Lua
Raw Normal View History

2024-06-10 01:40:55 +05:30
local Plugin = { "nvimdev/dashboard-nvim" }
Plugin.dependencies = { { "nvim-tree/nvim-web-devicons" } }
Plugin.event = "VimEnter"
local logo = {
2024-06-11 21:28:29 +05:30
[[ ]],
2024-06-11 21:51:33 +05:30
[[  ]],
[[ ████ ██████ █████ ██ ]],
[[ ███████████ █████  ]],
[[ █████████ ███████████████████ ███ ███████████ ]],
[[ █████████ ███ █████████████ █████ ██████████████ ]],
[[ █████████ ██████████ █████████ █████ █████ ████ █████ ]],
[[ ███████████ ███ ███ █████████ █████ █████ ████ █████ ]],
[[ ██████ █████████████████████ ████ █████ █████ ████ ██████ ]],
[[ ]],
2024-06-10 01:40:55 +05:30
}
Plugin.opts = {
theme = "doom",
disable_move = true,
hide = {
statusline = false,
},
config = {
header = logo,
center = {
2024-06-11 21:28:15 +05:30
{
icon = "󰦛 ",
desc = "Restore Session",
action = 'lua require("persistence").load()',
key = "r",
},
2024-06-10 01:40:55 +05:30
{
icon = "󰱼 ",
desc = "Find Text",
action = "Telescope live_grep",
key = "g",
},
{
icon = "󰥨 ",
desc = "Find Files",
action = "Telescope find_files",
key = "f",
},
{
icon = "󰒲 ",
desc = "Lazy",
action = "Lazy",
key = "l",
},
{
icon = "󰚰 ",
desc = "Update",
action = "Lazy update",
key = "u",
},
},
},
}
return Plugin