Closed Hurricaane closed 1 year ago
works for me
Also please dont use [[]] for strings
nvdash = {
load_on_startup = true,
header = {
" ⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣭⣿⣶⣿⣦⣼⣆ ",
" ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦ ",
" ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷⠄⠄⠄⠄⠻⠿⢿⣿⣧⣄ ",
" ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄ ",
" ⢠⣿⣿⣿⠈ ⠡⠌⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀ ",
" ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘⠄ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄ ",
" ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄ ",
" ⣠⣿⠿⠛⠄⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄ ",
" ⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇⠄⠛⠻⢷⣄ ",
" ⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆ ",
" ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃ ",
" ⢰⣶ ⣶ ⢶⣆⢀⣶⠂⣶⡶⠶⣦⡄⢰⣶⠶⢶⣦ ⣴⣶ ",
" ⢸⣿⠶⠶⣿ ⠈⢻⣿⠁ ⣿⡇ ⢸⣿⢸⣿⢶⣾⠏ ⣸⣟⣹⣧ ",
" ⠸⠿ ⠿ ⠸⠿ ⠿⠷⠶⠿⠃⠸⠿⠄⠙⠷⠤⠿⠉⠉⠿⠆ ",
},
},
and then you can override nvdash highlight groups to invert the colors etc
I reinstalled Nvchad, and launched :Nvdash
which worked with the default config, but as soon as I change the config (replacing [[]] by ""), nothing works...
I don't know what I am doing wrong
@Hurricaane can you make a video? I find it hard to believe!
and make sure your fontsize isnt large or else the dashboard height wont be sufficient and hence dashboard wont open
It was the fontsize (I feel dumb...) Sorry for the disturbance and thank you !
and then you can override nvdash highlight groups to invert the colors etc
@siduck Can you please share how to disable inverting of the picture? I the example in https://nvchad.com/docs/features dashboard screenshot, but cant find proper value in config
@inneroot read https://nvchad.com/docs/config/theming
1) find highlight groups associated with nvdash ( within base46 repo itself's integration dir ) 2) add them to hl_override
Or if you are lazy to find in that repo, just type nvdash in hl_override table and u will see the available hl groups, thanks to lucario
so just set there bg to "none" and fg to some color :D
Thx, @siduck, found config in NvChad/base46 repo Applied to chadrc.lua
M.ui = {
hl_override = {
NvDashAscii = {
fg = "blue",
bg = "black",
},
},
Describe the bug Hi ! I'm somewhat of a new user of neovim. I wanted to try Nvchad. Everything went great for the install, but when I want to setup Nvdash, it doesn't work. Nothing appears, even after inputting the command
Nvdash
.Here's my
chadrc.lua
:To Reproduce Steps to reproduce the behavior:
chadrc.lua
file to enable Nvdash on startup:Nvdash
Expected behavior A dashboard with my custom header.
Screenshots
Desktop (please complete the following information):