ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 458 forks source link

How can I change the startup image by adding a new alpha.lua to user/configs? #1122

Closed shaojunjie0912 closed 9 months ago

shaojunjie0912 commented 9 months ago

Version confirmation

Following prerequisites

Neovim version

NVIM v0.9.5

Branch info

main (Default/Latest)

Minimal (user) folder structure required to reproduce the issue

nvim/lua/user/configs/alpha.lua

Minimal config with steps on how to reproduce the issue

Hi, I'm new to nvimdots. I want to change the startup image.

The Wiki told me to modify the dashboard.section.header.val defined in lua/modules/configs/ui/alpha.lua with my own ascii image directly.

But I am confused that if this file being changed later, and when I try to update nvimdots by git pull , will it cause conflicts?

So I tried to create a new alpha.lua instead of modifying the original one. I added the alpha.lua to user/configs, and I wrote like this:

local dashboard = require("alpha.themes.dashboard")
return{
    dashboard.section.header.val = {
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⢁⣶⡿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣛⣉⣉⣙⣿⣷⣝⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⣋⠴⢚⣩⣴⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⡥⠊⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣱⣄⡙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⡵⢋⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣹⣇⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⣡⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠉⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⣰⣿⣿⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⣀⣿⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⡋⢿⣿⣿⣿⣿⡿⣳⣿⣿⡟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠃⣿⣿⣿⣿⡿⣱⣿⣿⣿⢱⣿⣿⢿⡗⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⡇⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⡇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⡆⢸⢻⣿⣿⡿⣱⣿⣿⣿⡏⣼⣿⣿⠈⡇⢿⣿⣿⣿⣿⣿⣿⣿⡇⣿⡇⠘⡇⠹⣿⣿⣿⣿⣿⣾⣿⣿⣿⡀⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⢸⢹⣿⣿⢳⣿⡿⣿⣿⢁⣿⡿⢡⡆⢧⠘⣿⣿⣿⣿⣿⣿⡿⠇⠸⠀⠷⠘⠂⠌⠻⣿⡛⢿⣧⣿⣿⣿⠇⡇⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⡀⢿⢩⠏⣾⡿⣱⣿⡏⠘⡟⣱⣿⣷⡈⠀⠈⣉⡹⣿⣧⠊⢩⠀⠀⣼⣿⣷⣌⠸⣦⠘⣇⠸⣿⢹⡏⣿⠀⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⡇⠸⡸⢰⡿⢡⣿⢏⡆⠘⣰⠟⠛⢛⣛⠀⡱⡜⢌⠌⣿⡈⠀⢠⣴⡋⠁⠀⢴⣤⡙⢷⠘⠀⣿⢨⣴⠏⡄⠁⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⣴⠀⠀⠇⢸⠃⡌⠅⠸⡇⠀⢠⣆⠀⠀⠉⣿⣿⣿⣦⠘⢄⡇⠀⣿⣿⣷⡔⠀⢠⣿⣷⣿⠃⠀⣿⠀⣾⠀⠐⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣜⣷⠀⢄⠘⢠⠃⢸⠀⡇⢸⣾⣿⣶⣴⣶⣿⣿⣿⣿⣷⣤⣁⣾⣿⣿⣿⣿⣿⣿⣿⣿⢃⡼⠀⡿⠀⡏⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠈⠀⢸⡄⢠⢇⠀⠨⡙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠕⠋⢀⡔⠃⡼⢠⣇⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠘⠂⡰⠘⡄⠀⠩⣑⣪⣙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⠖⣠⣴⢟⠥⡰⢁⣾⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡌⠐⢤⡉⠒⠬⣰⣈⣮⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡛⠛⠑⡚⢉⡉⠤⢂⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣨⣽⣦⡀⠠⡤⠤⣈⠡⢤⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⢁⣡⠔⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠄⢪⠇⢸⠁⠠⡐⠾⣿⣿⣿⣿⣿⣿⣿⣿⠿⡋⠐⢉⡀⢣⣶⣌⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢋⣥⣼⡆⢠⣷⣭⣑⡀⠀⢦⣭⣛⠿⢿⠿⣋⣵⣺⡅⢰⣻⣷⣼⣿⣿⣿⣾⣽⣿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠟⠩⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⡏⢰⣾⣷⣿⣿⣷⡿⣻⣿⣿⣷⡄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣬⡻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⣀⣤⣌⡙⢿⣿⣿⣿⣿⣿⣿⣿⡇⢸⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⢗⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢛⣄⡘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⣻⣵⣾⣿⣿⣿⣿⣶⣬⣛⢿⣿⣿⣿⣿⣿⡜⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⣾⣿⣿⣿⣿⣿⣿⣿⣿⣯⣶⣿⣿⣿⣮⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡁⢾⣿⣿⣿⣿⣿⣿⢸⣿⣿⣿⣷⣬⡛⢿⣿⣿⣿⡽⣿⣿⣿⣿⣿⣿⡿⢫⣿⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣌⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⣬⡹⢿⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣷⣬⡛⠻⣿⣟⣿⣿⣿⣿⡷⣰⣿⣿⣿⡿⠟⣫⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣋⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⢸⣿⣿⣦⡹⣿⣿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣦⣙⢿⣿⣿⣿⠿⣟⣛⡍⢰⣶⣿⣿⣿⣿⣿⣿⣿⡇⣿⣿⣿⣿⣿⣾⣿⡄⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣌⠻⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⡿⠃⠈⠋⠀⠻⣿⣿⠃⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣿⣿⢟⣿⡟⣾⣿⡇⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣿⣿⣿⣿⣿⣿⣧⡘⠟⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⣼⡇⠀⠀⠈⡟⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⢸⡿⣣⣿⡿⣹⣿⣿⡇⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⢸⣿⣿⣿⣿⣿⣿⣿⣿⣤⣿⣿⣿⣿⣿⣿⡟⡁⠀⠀⠀⣸⣿⡇⡀⠀⡄⠐⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢱⣿⣿⣵⣿⣿⣿⡿⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣿⣿⣿⣿⣿⣿⣆⡀⠀⠀⣰⣿⣿⡇⠁⣄⠻⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠘⢿⣿⣿⣿⣿⣿⣿⣿⢹⣿⣿⣿⣿⣿⣿⣿⡟⢀⢀⣿⣿⣿⡇⠀⣿⡇⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣻⣿⣿⣿⣿⣿⣿⡇⢠⠹⣿⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⢰⣶⣾⣿⣿⣿⡿⣿⣿⡟⢺⠿⣿⣿⣿⣿⣿⣿⠃⠌⣸⣿⣿⣿⡇⠂⢿⢇⡟⣻⣿⣿⣿⣿⣿⣟⣛⠟⣏⣼⣿⣿⣿⣿⣿⣿⣿⣿⣸⣆⠘⣿⣿⣿⣿⣿⣿⣿]],
        [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠙⣿⣿⣽⣿⣿⣷⡿⢿⣯⠰⣾⣿⣿⣿⣿⣿⡇⠀⠀⢿⣿⣿⣿⠃⠀⢸⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿]],
    }
}

But errors occurred like this:

Snipaste_2024-01-02_22-33-02

Meanwhile, the startup image didn't change properly.

How should I write the code? Thanks!!!

Expected behavior

The startup image changed properly.

Additional information

No response

ayamir commented 9 months ago

Solution:

local dashboard = require("alpha.themes.dashboard")

dashboard.section.header.val = {
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⢁⣶⡿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣛⣉⣉⣙⣿⣷⣝⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⣋⠴⢚⣩⣴⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⡥⠊⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣱⣄⡙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⡵⢋⣤⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣯⣹⣇⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⣡⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠉⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⣰⣿⣿⣽⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⣀⣿⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⡋⢿⣿⣿⣿⣿⡿⣳⣿⣿⡟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠃⣿⣿⣿⣿⡿⣱⣿⣿⣿⢱⣿⣿⢿⡗⣿⣿⣿⣿⣿⣿⣿⣿⡟⣿⡇⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⡇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⡆⢸⢻⣿⣿⡿⣱⣿⣿⣿⡏⣼⣿⣿⠈⡇⢿⣿⣿⣿⣿⣿⣿⣿⡇⣿⡇⠘⡇⠹⣿⣿⣿⣿⣿⣾⣿⣿⣿⡀⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⢸⢹⣿⣿⢳⣿⡿⣿⣿⢁⣿⡿⢡⡆⢧⠘⣿⣿⣿⣿⣿⣿⡿⠇⠸⠀⠷⠘⠂⠌⠻⣿⡛⢿⣧⣿⣿⣿⠇⡇⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⡀⢿⢩⠏⣾⡿⣱⣿⡏⠘⡟⣱⣿⣷⡈⠀⠈⣉⡹⣿⣧⠊⢩⠀⠀⣼⣿⣷⣌⠸⣦⠘⣇⠸⣿⢹⡏⣿⠀⡇⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⡇⠸⡸⢰⡿⢡⣿⢏⡆⠘⣰⠟⠛⢛⣛⠀⡱⡜⢌⠌⣿⡈⠀⢠⣴⡋⠁⠀⢴⣤⡙⢷⠘⠀⣿⢨⣴⠏⡄⠁⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⣴⠀⠀⠇⢸⠃⡌⠅⠸⡇⠀⢠⣆⠀⠀⠉⣿⣿⣿⣦⠘⢄⡇⠀⣿⣿⣷⡔⠀⢠⣿⣷⣿⠃⠀⣿⠀⣾⠀⠐⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣜⣷⠀⢄⠘⢠⠃⢸⠀⡇⢸⣾⣿⣶⣴⣶⣿⣿⣿⣿⣷⣤⣁⣾⣿⣿⣿⣿⣿⣿⣿⣿⢃⡼⠀⡿⠀⡏⠀⢠⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⠈⠀⢸⡄⢠⢇⠀⠨⡙⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠕⠋⢀⡔⠃⡼⢠⣇⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄⠀⠘⠂⡰⠘⡄⠀⠩⣑⣪⣙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⠖⣠⣴⢟⠥⡰⢁⣾⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡌⠐⢤⡉⠒⠬⣰⣈⣮⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡛⠛⠑⡚⢉⡉⠤⢂⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣨⣽⣦⡀⠠⡤⠤⣈⠡⢤⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⢁⣡⠔⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠄⢪⠇⢸⠁⠠⡐⠾⣿⣿⣿⣿⣿⣿⣿⣿⠿⡋⠐⢉⡀⢣⣶⣌⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢋⣥⣼⡆⢠⣷⣭⣑⡀⠀⢦⣭⣛⠿⢿⠿⣋⣵⣺⡅⢰⣻⣷⣼⣿⣿⣿⣾⣽⣿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠟⠩⣵⣾⣿⣿⣿⣿⣿⣿⣿⣿⡏⢰⣾⣷⣿⣿⣷⡿⣻⣿⣿⣷⡄⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣬⡻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⣀⣤⣌⡙⢿⣿⣿⣿⣿⣿⣿⣿⡇⢸⣿⣿⣯⣿⣿⣿⣿⣿⣿⣿⢗⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢛⣄⡘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⣻⣵⣾⣿⣿⣿⣿⣶⣬⣛⢿⣿⣿⣿⣿⣿⡜⣿⣿⣿⣿⣿⣿⣿⣿⣿⢟⣾⣿⣿⣿⣿⣿⣿⣿⣿⣯⣶⣿⣿⣿⣮⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡁⢾⣿⣿⣿⣿⣿⣿⢸⣿⣿⣿⣷⣬⡛⢿⣿⣿⣿⡽⣿⣿⣿⣿⣿⣿⡿⢫⣿⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣌⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠀⣬⡹⢿⣿⣿⣿⣾⣿⣿⣿⣿⣿⣿⣷⣬⡛⠻⣿⣟⣿⣿⣿⣿⡷⣰⣿⣿⣿⡿⠟⣫⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⣋⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⢸⣿⣿⣦⡹⣿⣿⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣦⣙⢿⣿⣿⣿⠿⣟⣛⡍⢰⣶⣿⣿⣿⣿⣿⣿⣿⡇⣿⣿⣿⣿⣿⣾⣿⡄⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣌⠻⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣿⡿⠃⠈⠋⠀⠻⣿⣿⠃⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣿⣿⢟⣿⡟⣾⣿⡇⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣿⣿⣿⣿⣿⣿⣧⡘⠟⣿⣿⣿⣿⣿⣿⣿⣿⠟⠁⠀⠀⣼⡇⠀⠀⠈⡟⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⢸⡿⣣⣿⡿⣹⣿⣿⡇⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⢸⣿⣿⣿⣿⣿⣿⣿⣿⣤⣿⣿⣿⣿⣿⣿⡟⡁⠀⠀⠀⣸⣿⡇⡀⠀⡄⠐⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢱⣿⣿⣵⣿⣿⣿⡿⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠁⣿⣿⣿⣿⣿⣿⣿⣿⣿⢯⣿⣿⣿⣿⣿⣿⣆⡀⠀⠀⣰⣿⣿⡇⠁⣄⠻⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿⡇⠸⣿⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠘⢿⣿⣿⣿⣿⣿⣿⣿⢹⣿⣿⣿⣿⣿⣿⣿⡟⢀⢀⣿⣿⣿⡇⠀⣿⡇⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⢰⣻⣿⣿⣿⣿⣿⣿⡇⢠⠹⣿⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⢰⣶⣾⣿⣿⣿⡿⣿⣿⡟⢺⠿⣿⣿⣿⣿⣿⣿⠃⠌⣸⣿⣿⣿⡇⠂⢿⢇⡟⣻⣿⣿⣿⣿⣿⣟⣛⠟⣏⣼⣿⣿⣿⣿⣿⣿⣿⣿⣸⣆⠘⣿⣿⣿⣿⣿⣿⣿]],
    [[⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⠙⣿⣿⣽⣿⣿⣷⡿⢿⣯⠰⣾⣿⣿⣿⣿⣿⡇⠀⠀⢿⣿⣿⣿⠃⠀⢸⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⣿⣿⣿⣿⣿⣿⣿]],
}

return dashboard.section.header.val

IMO it's a common demand and should be added in settings.lua as the value of dashboard_header. What do you think? @Jint-lzxy @CharlesChiuGit

shaojunjie0912 commented 9 months ago
return dashboard.section.header.val

Thanks a lot! 😊

CharlesChiuGit commented 9 months ago

IMO it's a common demand and should be added in settings.lua as the value of dashboard_header. What do you think?

yeah, agree. 2 many ppl had been asking for this lol