Skip to content
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

wezterm: support fancy_tab_bar #564

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

baduhai
Copy link
Contributor

@baduhai baduhai commented Sep 19, 2024

By default, the fancy tabbar doesn't respect colorschemes, see wez/wezterm#2615. But I've found that if you set the tabbar colors in the config.lua in addition to the colors/stylix.toml file, the fancy tabbar does respect the colors set.

Here's what it ends up looking like:
Screenshot_20240919_101453
This change doesn't affect the retro tab theming, which I made sure to test.

My only doubt is whether I should have kept the use_fancy_tab_bar = false, line. Keeping this line will keep everyone's current wezterm config unchanged, but will differ from wezterm's default look. Removing the line will make it so everyone who uses stylix and doesn't have use_fancy_tab_bar = false, in their config will now have the fancy tabbar all of a sudden, but it is in line with the default wezterm look. I ended up removing it, but I can add it back, if needed.

@danth
Copy link
Owner

danth commented Sep 20, 2024

I agree with removing use_fancy_tab_bar = false since it's no longer necessary to make the theming work, so we should use the default behaviour.

Changes look good to me, but I haven't tested yet.

Copy link
Collaborator

@trueNAHO trueNAHO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this, but LGTM.

Approved-by: NAHO <[email protected]>

@trueNAHO trueNAHO changed the title Add support for the wezterm fancy_tab_bar wezterm: support fancy_tab_bar Sep 23, 2024
@danth danth merged commit eccb9f2 into danth:master Sep 23, 2024
10 checks passed
mateusauler pushed a commit to mateusauler/stylix that referenced this pull request Nov 17, 2024
By default, the fancy tabbar doesn't respect colorschemes, see
wez/wezterm#2615. But I've found that if you
set the tabbar colors in the config.lua in addition to the
colors/stylix.toml file, the fancy tabbar does respect the colors set.

This change doesn't affect the retro tab theming, which I made sure to
test.
mateusauler pushed a commit to mateusauler/stylix that referenced this pull request Nov 20, 2024
By default, the fancy tabbar doesn't respect colorschemes, see
wez/wezterm#2615. But I've found that if you
set the tabbar colors in the config.lua in addition to the
colors/stylix.toml file, the fancy tabbar does respect the colors set.

This change doesn't affect the retro tab theming, which I made sure to
test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants