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 {
{
'Wansmer/treesj',
enabled = true,
lazy = false,
cmd = { 'TSJJoin', 'TSJSplit' },
keys = {
{ '<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 {
{
'glepnir/dashboard-nvim',
@ -7,11 +24,9 @@ return {
theme = 'hyper',
config = {
header = {
foo = "bar",
},
header = get_header(),
week_header = {
enable = true,
enable = false,
},
shortcut = {
{
@ -50,6 +65,17 @@ return {
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' },
},
})