Make active tab in tab bar background the same as the main background? #4858
Closed
kylebarbour
started this conversation in
General
Replies: 2 comments 1 reply
-
Something like this: local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- The color scheme you want to use
local scheme = 'Spacemacs (base16)'
-- Obtain the definition of that color scheme
local scheme_def = wezterm.color.get_builtin_schemes()[scheme]
config.color_scheme = scheme
config.colors = {
tab_bar = {
active_tab = {
bg_color = scheme_def.background,
fg_color = scheme_def.foreground,
}
}
}
return config |
Beta Was this translation helpful? Give feedback.
1 reply
-
You're a superstar! Thank you so much for the lovely software, and for the swift and helpful reply. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a colorscheme that does not customize the fancy tab bar (Spacemacs). I would like to make the background of the tab the same as the main background, so that there is no obvious border between the tab bar and the main window. Using a minimal
.wezterm.lua
with only the required preamble andconfig.color_scheme='Spacemacs (base16)'
, the appearance is:Note the color difference and resulting border between the active tab background in the tab bar and the main window. What I'm trying to accomplish is the following (edited in GIMP):
Note the border being absent and the background of both being identical.
How can this be done? I've reviewed the documentation (particularly Native (Fancy) Tab Bar appearance), but setting the available options doesn't seem to accomplish this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions