Closed prateektade closed 15 hours ago
Hmm when you do:
rose_pine_main = {
tab_bar = {
....
}
}
You basically reset the rose_pine_main
variable that you got from the first line, to ONLY have what you specified here.
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 rose_pine_main.tab_bar
but leave all the other colors from the colorscheme config intact.
@bew Makes sense! Tried this and it works! Thank you.
What might be the issue with the colors from the toml
config file not getting applied? The name doesn't clash with an existing color scheme name. I specified all the colors too.
What might be the issue with the colors from the
toml
config file not getting applied? The name doesn't clash with an existing color scheme name. I specified all the colors too.
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 Your configuration specifies color_scheme="rose-pine-toml" but that scheme was not found
. It only recognised the file when I placed it in the %HOME%/.config/wezterm/colors
directory. The color_scheme_dirs
config option doesn't work I guess.
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