-
Notifications
You must be signed in to change notification settings - Fork 482
Closed
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomersuiGeneral user interface related issuesGeneral user interface related issues
Description
Version confirmation
- Confirm
Following prerequisites
- Confirm
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.luaMinimal 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:

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
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood-first-issueGood for newcomersGood for newcomersuiGeneral user interface related issuesGeneral user interface related issues