-
-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom color scheme not recognised unless defined inside config
table in wezterm.lua
#6421
Comments
Hmm when you do: rose_pine_main = {
tab_bar = {
....
}
} You basically reset the If you only want to overwrite the tab bar settings you'd need to write it like this: rose_pine_main.tab_bar = {
....
} This will reset the |
@bew Makes sense! Tried this and it works! Thank you. What might be the issue with the colors from the |
Did you check the logs output from wezterm? (when run from another terminal) There might be useful information to help you debug this |
Yes, I got an error saying that read |
Ah according to the docs it should be a list (not sure why it didn't tell you the type was incorrect) Try setting it with: config.color_scheme_dirs = { '/home/prateektade' }
config.color_scheme = 'rose-pine-toml'
-- ...
return config |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
I am using Gentoo on WSL inside WezTerm
WezTerm version
20241119-101432-4050072d
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
I wanted to define tab bar colors for the pre-installed Rosé Pine colorscheme (set using `config.color_scheme = 'rose-pine').
I started with the
wezterm.color.get_builtin_schemes()
function, following the example on this page. The colors got disturbed completely.Then I removed those lines of code, created a separate TOML file with all the colors including the added tab bar colors, defined the path using
config.color_scheme_dirs
and then set the name inside the TOML file as the value forconfig.color_scheme
. That disturbed the colors again, same as earlier.To Reproduce
No response
Configuration
Expected Behavior
No response
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: