wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.18k stars 776 forks source link

Transparent title bar (same as background) #1171

Open Laica-Lunasys opened 3 years ago

Laica-Lunasys commented 3 years ago

(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

wez commented 3 years ago

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.

Laica-Lunasys commented 3 years ago

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.

wez commented 3 years ago

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

Laica-Lunasys commented 3 years ago

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

serhez commented 2 years ago

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