diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index 9ff8513d..03d1262a 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -72,7 +72,62 @@ local plugins = { -- startup { 'glepnir/dashboard-nvim', - config = nil, + config = function() + require('dashboard').setup { + theme = 'hyper', -- theme is doom and hyper default is hyper + config = { + -- todo https://github.com/nvimdev/dashboard-nvim + header = { + '', + '', + '', + '', + '', + '', + '', + ' █████████ █████████ █████ ████ ███████ ', + ' ███░░░░░███ ███░░░░░███ ░░███ ███░ ███░░░░░███ ', + '░███ ░░░ ░███ ░███ ░███ ███ ███ ░░███', + '░░█████████ ░███████████ ░███████ ░███ ░███', + ' ░░░░░░░░███ ░███░░░░░███ ░███░░███ ░███ ░███', + ' ███ ░███ ░███ ░███ ░███ ░░███ ░░███ ███', + '░░█████████ █████ █████ █████ ░░████ ░░░███████░', + '░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░ ░░░░░░░ ', + '', + '', + '', + '', + '', + '', + }, --your header + config = { + shortcut = { + { desc = '󰊳 Update', group = '@property', action = 'Lazy update', key = 'u' }, + { + icon = ' ', + icon_hl = '@variable', + desc = 'Files', + group = 'Label', + action = 'Telescope find_files', + key = 'f', + }, + { + desc = ' Apps', + group = 'DiagnosticHint', + action = 'Telescope app', + key = 'a', + }, + { + desc = ' dotfiles', + group = 'Number', + action = 'Telescope dotfiles', + key = 'd', + }, + }, + }, + } + } + end, event = 'VimEnter', dependencies = { { 'nvim-tree/nvim-web-devicons' } } },