nvimdev / dashboard-nvim

vim dashboard
MIT License
2.39k stars 193 forks source link

share your custom dashbaord #7

Closed glepnir closed 1 year ago

glepnir commented 4 years ago

You can share your custom dashboard in here. i will add it to wiki demo page. Thanks.

konart commented 2 years ago

@jrock2004 I don't have dashboard config anymore (moved to a different plugin) but here is the OPM variable for anyone interested: https://gist.github.com/konart/5564319ae9620f57ec43ba61fb92d5d5

And here is the pretty naive Git status list implementation: https://github.com/glepnir/dashboard-nvim/issues/7#issuecomment-883629929

jrock2004 commented 2 years ago

@konart What did you switch to?

FrenzyExists commented 2 years ago

@jrock2004 I don't have dashboard config anymore (moved to a different plugin) but here is the OPM variable for anyone interested: https://gist.github.com/konart/5564319ae9620f57ec43ba61fb92d5d5

And here is the pretty naive Git status list implementation: #7 (comment)

And now i shall yoink that nice snazzy git status

rd3ka commented 2 years ago

todo

codebysandwich commented 2 years ago

works fine for me image

image it's mine looks like, i can't config the cat file correctly.

SingularisArt commented 2 years ago

Here's mine: I got the ascii from nvchad:

Screenshot_2022-01-26_15-16-00

You can view my custom neovim config here You can view my custom dotfiles config here

zoefiri commented 2 years ago

@glepnir had you realized that your way of displaying the header art allows for chafa to run in it? Turns out I can actually play GIFs in the header:

any idea why it pauses in command mode? Not really an issue or anything either way.

https://user-images.githubusercontent.com/27149384/157824900-87d29ea7-b394-49b2-b74f-f8650d98f861.mp4

For anyone who wants to reproduce this:

vim.g.dashboard_preview_command = 'chafa -c 256 --fg-only --symbols braille'
vim.g.dashboard_preview_file = 'LAINHADN3.gif'

you need https://github.com/hpjansson/chafa and preview_file can also be most any kind of image file format, you might wanna play around with the flags it provides but I've found braille symbols + fg-only (doesn't use terminal background colors to render) produces the best results for this application

bigshans commented 2 years ago

Show my dashboard. 图片

r17x commented 2 years ago
image

Here's my dashboard 🙈👋

If you want to see this configuration, here we go https://github.com/r17x/nixpkgs/tree/main/configs/nvim

mateogo42 commented 2 years ago

Screen Shot 2022-06-22 at 1 16 10 PM

This is mine 😛

ghost commented 2 years ago

Simple good looking dashboard for neovim. (can add to wiki) Screenshot from 2022-07-03 06-20-23

ghost commented 2 years ago

image Still working in progress and maybe I will change but I will post because I like it. I tried to find a way to show loading time like doom emacs reading startuptime.vim code but it needs vimscript knowledge and I can't.

can you give this ascii?

ghost commented 2 years ago

Another design! Screenshot from 2022-07-03 11-31-15

gmtborges commented 2 years ago

image

image

Pikachu!

What is this font pls?

FrenzyExists commented 2 years ago

image image Pikachu!

What is this font pls?

Operator Mono, using Kitty

rsbear commented 2 years ago
image

dashboard config is in this file

simaxme commented 2 years ago

Preview

Custom "Neovim" ASCII Text, together with ability to load one of last five sessions, or search a session. Session Lens, plenary.nvim and all dependent plugins are required. Config (written in Lua) and corresponding Utils and SessionConfig

Yolo390 commented 2 years ago

alt text

glepnir commented 2 years ago

Screen Shot 2022-07-23 at 14 32 36

S1M1S commented 2 years ago
image

db.default_banner = {
  '',
  '',
  ' ⠀⠀⠀⠀⠀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⠀⠀⠀⠀⢐⡛⣛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣶⣾⣷⣿⣿⣶⣶⣤⣌⣙⣛⡻⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣬⡙⠿⠿⠟⠛⢛⣛⠛⠛⠛⠛⠻⠿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢛⣉⣩⣵⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣦⣍⣉⣙⡛⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟ ',
  ' ⣿⣿⣿⣿⣿⡿⠟⣫⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⠉⠛⣿⣿⣿⣿⣿⣿⡟⢠ ',
  ' ⣿⣿⡟⢉⣱⡶⢟⣉⢥⣮⣭⡛⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣮⣙⠿⠿⠿⠛⢡⣿ ',
  ' ⡿⢋⣴⣿⡏⣠⣿⡁⠀⢸⣿⣿⡎⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣤⡀⣰⣿⣿ ',
  ' ⣴⣿⣿⣿⡇⠹⣿⣿⣿⣿⡿⢟⣼⣿⣿⣿⣿⠿⠟⣛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡙⣿ ',
  ' ⣿⣿⣿⣿⣿⣷⣬⣭⠭⠵⠶⠿⣟⣛⣭⣷⣶⣴⣿⣟⣻⣦⡝⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢫⣵⣶⠶⢶⣮⣍⢻⣿⣿⣿⣎ ',
  ' ⣿⣿⣿⣿⢻⣭⣴⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⣛⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⣿⣿⣅⠀⢀⣿⣿⡇⢻⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣮⡃⢀⡀⠀⠀⠀⠀⠉⠛⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣮⣍⡻⢿⣿⣿⣿⣿⣿⣧⡹⣿⣿⣿⣿⣿⣿⢇⣾⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣦⣙⠿⣦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠛⠿⣿⣿⣿⣿⣷⣬⡻⣿⣿⣿⣿⣷⣮⣭⣉⣉⣩⣴⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣷⣬⡻⡓⠦⣤⣤⣤⣄⣀⣀⣀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠛⢿⣿⣎⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡘⠷⣶⣾⣿⣿⡿⠿⠿⠿⢿⣟⣛⣛⣛⣛⣛⣉⣭⣭⣭⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⡻⣭⣶⣦⣤⣤⣴⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⠿⢋⣴⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⣫ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣫⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⣵⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢏⣴⣿⣿⣿⣿ ',
  ' ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢡⣿⣿⣿⡿⠿⠿ ',
  '',
  '"a"',
  '',
}
EpsilonKu commented 2 years ago

gscreenshot_2022-07-26-034303 I always wanted something like in Spacemacs.

ghost commented 2 years ago

Here is my custom dashboard. I don't use icons as they are not installed in OSs by default . s3

Erven2016 commented 2 years ago

A very strange usage in all 🤣 !

image

ghost commented 2 years ago

A very strange usage in all rofl !

image

looks funny

glepnir commented 2 years ago

Screen Shot 2022-07-30 at 15 04 52

krmmzs commented 2 years ago

Screen Shot 2022-07-23 at 14 32 36

Wow!how is this set up?

glepnir commented 2 years ago

check the readme. just work in linux.

krmmzs commented 2 years ago

image

oh no. I don't know how to fix this red block, my config is as follows:

local home = os.getenv('HOME')
local status_ok, db = pcall(require, "dashboard")
if not status_ok then
     return
end

db.preview_command = 'ueberzug'
db.preview_file_path = home .. '/.config/nvim/static/01.png'
db.preview_file_height = 27
db.preview_file_width = 48

db.custom_center = {
    {icon = ' ',
        desc = ' Recently latest session                  ',
        shortcut = 'SPC s l',
        action ='SessionLoad'},
    {icon = '  ',
        desc = 'Recently opened files                   ',
        action =  'DashboardFindHistory',
        shortcut = 'SPC f h'},
    {icon = '  ',
        desc = 'Find  File                              ',
        action = 'Telescope find_files find_command=rg,--hidden,--files',
        shortcut = 'SPC f f'},
    {icon = '  ',
        desc ='File Browser                            ',
        action =  'Telescope file_browser',
        shortcut = 'SPC f b'},
    {icon = '  ',
        desc = 'Find  word                              ',
        action = 'Telescope live_grep',
        shortcut = 'SPC f w'},
    {icon = '  ',
        desc = 'Open Personal dotfiles                  ',
        action = 'Telescope dotfiles path=' .. home ..'/.dotfiles',
        shortcut = 'SPC f d'},
}
krmmzs commented 2 years ago

I found the red block because of this plugin:bronson/vim-trailing-whitespace Now I let this plugin lazy load and everything works.

Pr0gCat commented 2 years ago

sc

mimic05 commented 2 years ago

Super Saiyan

dark light

Hi in your custom dashboard you have custom footer which is multi line. When I'm trying to set a quote for my custom footer it's throwing en error. How did you set the multiline quote ?

mimic05 commented 2 years ago

todo

how did you make the custom footer like that?

glepnir commented 2 years ago

use a image of dragonball would be better

mFragaBA commented 2 years ago

@glepnir had you realized that your way of displaying the header art allows for chafa to run in it? Turns out I can actually play GIFs in the header:

any idea why it pauses in command mode? Not really an issue or anything either way. lainmoding.mp4

For anyone who wants to reproduce this:

vim.g.dashboard_preview_command = 'chafa -c 256 --fg-only --symbols braille'
vim.g.dashboard_preview_file = 'LAINHADN3.gif'

you need https://github.com/hpjansson/chafa and preview_file can also be most any kind of image file format, you might wanna play around with the flags it provides but I've found braille symbols + fg-only (doesn't use terminal background colors to render) produces the best results for this application

That's so cool!! Plus, you can use multiple gifs:

db.preview_command = 'chafa -C true -c 256 --fg-only --symbols braille --clear'
db.preview_file_path = '$(ls ' .. home .. '/.config/nvim/static/*.gif | sort -R)'
glepnir commented 2 years ago

very nice. I can use this in new theme!

gmardom commented 2 years ago

screenshot

Just figured out how to center dashboard! Pretty nice effect imo.

local header_height = #dashboard.custom_header
local center_height = (#dashboard.custom_center * 2) + dashboard.center_pad

local footer_height = 2 + dashboard.footer_pad
if dashboard.custom_footer ~= nil then
  footer_height = #dashboard.custom_footer + dashboard.footer_pad
end

local dashboard_height = header_height + center_height + footer_height

local function update_padding()
  local win_height = vim.fn.winheight(0)
  local padding = (win_height - dashboard_height) / 2
  dashboard.header_pad = padding
end

vim.api.nvim_create_autocmd({ "VimResized" }, {
  callback = update_padding,
})
gaganchandan commented 2 years ago

@DominikMarcinowski how did you get a different colour for the icons and the descriptions?

gmardom commented 2 years ago

@DominikMarcinowski how did you get a different colour for the icons and the descriptions?

I don't know how to set the custom theme for them. They were like that for me from the start. I use https://github.com/navarasu/onedark.nvim theme.

glepnir commented 2 years ago

there has a filed icon_hl

itsmeadarsh2008 commented 2 years ago

image How did you add colors to the custom header?

glepnir commented 2 years ago

hi DashboardHeader guifg=your color

itsmeadarsh2008 commented 2 years ago

Thanks

itsmeadarsh2008 commented 2 years ago

image

rebelot commented 2 years ago
Screenshot

config

gaganchandan commented 2 years ago

@mimic05 I'm unable to use multi-line quotes as well. Did you figure out a way to do it?

monadplus commented 2 years ago

2022-Oct-13-1665677707

Credit to @DominikMarcinowski for the centering function :tada:

gin-18 commented 2 years ago

Here is my custom header! Super Saiyan Son Goku!!

image

pranavpa8788 commented 2 years ago

image

wakaka6 commented 1 year ago

image

ikun assemble.

db.custom_header = {
[[                            .:=====-:..         ..................:-::]],
[[      鸡你太美        ..... =####*##*+:        ................... ...]],
[[                     .     .:+===-==:    .    ......................  ]],
[[                  ... .-==:+%%#=-=++:-:.  ...... .....................]],
[[                ..   :#%%@%=%@@@%#%@-#@%*:     .......................]],
[[              ..  .-+%@@@%##%@%%@@%##%@@@@#+--:.    ..................]],
[[            ..  :=#@@@%#**%@@@@@%+==:.:-=+*#%%%#**+:.  ...............]],
[[           .  :*@@%#%%**%@@@@%*=.           ..:=*####+. ..............]],
[[      ....  :*@%+-=+**########+- ........... :---::-=+: ..............]],
[[....  ..  -*@*-.  =*************. ...........=++==++++: ..............]],
[[::::.....:+#*. .. -++++**=***+++=: ...........-=+++=-.................]],
[[:::::::.--.........++==+= :+#*++=+: ..........  ...   ................]],
[[:::::::::::....... :+====.  :+++==+: .................................]],
[[::::::::::::::.... :+===+: . .-+++++: ................................]],
[[.::::::::::::::::..:++++=..... -**+*- ................................]],
}
383494 commented 1 year ago

image

ikun assemble.

db.custom_header = {
[[                            .:=====-:..         ..................:-::]],
[[      鸡你太美        ..... =####*##*+:        ................... ...]],
[[                     .     .:+===-==:    .    ......................  ]],
[[                  ... .-==:+%%#=-=++:-:.  ...... .....................]],
[[                ..   :#%%@%=%@@@%#%@-#@%*:     .......................]],
[[              ..  .-+%@@@%##%@%%@@%##%@@@@#+--:.    ..................]],
[[            ..  :=#@@@%#**%@@@@@%+==:.:-=+*#%%%#**+:.  ...............]],
[[           .  :*@@%#%%**%@@@@%*=.           ..:=*####+. ..............]],
[[      ....  :*@%+-=+**########+- ........... :---::-=+: ..............]],
[[....  ..  -*@*-.  =*************. ...........=++==++++: ..............]],
[[::::.....:+#*. .. -++++**=***+++=: ...........-=+++=-.................]],
[[:::::::.--.........++==+= :+#*++=+: ..........  ...   ................]],
[[:::::::::::....... :+====.  :+++==+: .................................]],
[[::::::::::::::.... :+===+: . .-+++++: ................................]],
[[.::::::::::::::::..:++++=..... -**+*- ................................]],
}

neovim(x) neovikun(√)