wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Transparent title bar (same as background)

Open Laica-Lunasys opened this issue 3 years ago • 5 comments

(I'm sorry that my English isn't very good...)

Is your feature request related to a problem? Please describe. I suggest to transparent title bar like mintty (https://mintty.github.io/)

Describe the solution you'd like In mintty, the background transparency setting affects even the title bar of the window. Can they make the title bar color the same as the background transparency? ...but I only use WezTerm on Windows, so I apologize if I am making environment-dependent suggestions. (It would be good to be able to do the equivalent on macOS and Linux etc...)

Additional context mintty image

Settings (Transparency) image

Laica-Lunasys avatar Sep 25 '21 06:09 Laica-Lunasys

Your English is fine! Window titlebar rendering is platform dependent; WezTerm doesn't render that explicitly in its own code.

You can disable the titlebar using https://wezfurlong.org/wezterm/config/lua/config/window_decorations.html if you wish, and you can then drag wezterm around by the tab bar instead. https://wezfurlong.org/wezterm/config/appearance.html#text-background-opacity allows you to control the opacity of the tab bar and other non-default background colors, so that might help you get closer to the appearance that you're seeking.

In the future, I want to teach wezterm to draw a Chrome/Firefox style titlebar that integrates the tab bar at the top. When I get to that, I'll be sure to consider allowing that titlebar to be transparent as well.

wez avatar Sep 26 '21 16:09 wez

Thank you! I tried it right away. But, It seems that the Windows window snapping feature does not work when the title bar is set to hidden. (Manually resizing the window or full screen mode does work). I'm not sure if this is a bug or a specification, but I'm thinking of making another Issue if necessary.

Laica-Lunasys avatar Sep 27 '21 02:09 Laica-Lunasys

I filed https://github.com/wez/wezterm/issues/1180 to track future work on the tab bar

wez avatar Sep 28 '21 04:09 wez

I'm looking forward to seeing it added, Thank you!

Laica-Lunasys avatar Sep 28 '21 15:09 Laica-Lunasys

Would love to see a transparent MacOS title bar as well! ❤️

serhez avatar Aug 22 '22 23:08 serhez