Giter VIP home page Giter VIP logo

Comments (12)

siduck avatar siduck commented on July 18, 2024 2

and then you can override nvdash highlight groups to invert the colors etc

from ui.

siduck avatar siduck commented on July 18, 2024 1
 nvdash = {
    load_on_startup = true,
    header = {
      "   ⣴⣶⣤⡤⠦⣤⣀⣤⠆     ⣈⣭⣭⣿⣶⣿⣦⣼⣆         ",
      "    ⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦       ",
      "          ⠈⢿⣿⣟⠦ ⣾⣿⣿⣷⠄⠄⠄⠄⠻⠿⢿⣿⣧⣄     ",
      "           ⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄    ",
      "          ⢠⣿⣿⣿⠈  ⠡⠌⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀   ",
      "   ⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘⠄ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄  ",
      "  ⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷   ⢊⣿⣿⡏  ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄   ",
      " ⣠⣿⠿⠛⠄⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄  ",
      " ⠙⠃   ⣼⣿⡟  ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇⠄⠛⠻⢷⣄ ",
      "      ⢻⣿⣿⣄   ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆     ",
      "       ⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃     ",
      "     ⢰⣶  ⣶ ⢶⣆⢀⣶⠂⣶⡶⠶⣦⡄⢰⣶⠶⢶⣦  ⣴⣶     ",
      "     ⢸⣿⠶⠶⣿ ⠈⢻⣿⠁ ⣿⡇ ⢸⣿⢸⣿⢶⣾⠏ ⣸⣟⣹⣧    ",
      "     ⠸⠿  ⠿  ⠸⠿  ⠿⠷⠶⠿⠃⠸⠿⠄⠙⠷⠤⠿⠉⠉⠿⠆   ",
    },
  },

from ui.

siduck avatar siduck commented on July 18, 2024 1

@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

image

so just set there bg to "none" and fg to some color :D

from ui.

siduck avatar siduck commented on July 18, 2024

image

works for me

from ui.

siduck avatar siduck commented on July 18, 2024

Also please dont use [[]] for strings

from ui.

siduck avatar siduck commented on July 18, 2024

image

from ui.

Hurricaane avatar Hurricaane commented on July 18, 2024

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

from ui.

siduck avatar siduck commented on July 18, 2024

@Hurricaane can you make a video? I find it hard to believe!

from ui.

siduck avatar siduck commented on July 18, 2024

and make sure your fontsize isnt large or else the dashboard height wont be sufficient and hence dashboard wont open

from ui.

Hurricaane avatar Hurricaane commented on July 18, 2024

It was the fontsize (I feel dumb...)
Sorry for the disturbance and thank you !

from ui.

inneroot avatar inneroot commented on July 18, 2024

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

from ui.

inneroot avatar inneroot commented on July 18, 2024

Thx, @siduck, found config in NvChad/base46 repo
Applied to chadrc.lua

M.ui = {
  hl_override = {
    NvDashAscii = {
      fg = "blue",
      bg = "black",
    },
  },

image

from ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.