fancy fancy logo in dash

This commit is contained in:
Christoph J. Scherr 2023-09-08 11:35:08 +02:00
parent b58b02b546
commit d8fd81ba73
2 changed files with 32 additions and 4 deletions

View File

@ -1,6 +1,8 @@
return { return {
{ {
'Wansmer/treesj', 'Wansmer/treesj',
enabled = true,
lazy = false,
cmd = { 'TSJJoin', 'TSJSplit' }, cmd = { 'TSJJoin', 'TSJSplit' },
keys = { keys = {
{ '<leader>sj', '<cmd>TSJJoin<CR>' }, { '<leader>sj', '<cmd>TSJJoin<CR>' },

View File

@ -1,3 +1,20 @@
local function get_header()
-- see https://github.com/MaximilianLloyd/ascii.nvim
return {
-- The following is a customized version!
[[ ]],
[[  ]],
[[ █ ███████ █████ ██ ]],
[[ ███ █████ █████  ]],
[[ █████ ███ ███████████████████ ███ ███████████ ]],
[[ ██ ██ █ ███ █████████████ █████ ██████████████ ]],
[[ ████ ████ ██████████ █████████ █████ █████ ████ █████ ]],
[[ ██████ ██ ███ ███ █████████ █████ █████ ████ █████ ]],
[[ ████████  ██████████████████ ████ █████ █████ ████ ██████ ]],
[[ ]],
}
end
return { return {
{ {
'glepnir/dashboard-nvim', 'glepnir/dashboard-nvim',
@ -7,11 +24,9 @@ return {
theme = 'hyper', theme = 'hyper',
config = { config = {
header = { header = get_header(),
foo = "bar",
},
week_header = { week_header = {
enable = true, enable = false,
}, },
shortcut = { shortcut = {
{ {
@ -50,6 +65,17 @@ return {
key = 's', key = 's',
}, },
}, },
project = {
enable = true,
limit = 8,
icon = '',
label = ' Projects',
action = 'Telescope find_files cwd='
},
packages = { enable = true},
mru = { limit = 10, icon = '', label = ' Last Edited'},
-- footer = { 'footer bar foo' },
}, },
}) })