wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Better transparency with background color

Open realhackcraft opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. The middle of the tmux bar is visible with a transparent window.

Describe the solution you'd like Make the anything that displays the wezterm background color transparent. For example, if wezterm's background color is 0x000000, make text with foreground color 0x000000 transparent. Also make anything's background color transparent if the color is 0x000000.

Describe alternatives you've considered Deal with bad transparency.

Additional context Screenshot 2024-10-04 at 11 48 16 Screenshot 2024-10-04 at 11 48 47

realhackcraft avatar Oct 04 '24 15:10 realhackcraft

There could be a toggle, in case it breaks anything.

realhackcraft avatar Oct 04 '24 21:10 realhackcraft

This would also help with zellij. There I encounter also random backgrounds, that are not transparent, even though they have the same color.

Screenshot 2024-10-15 at 18 03 31

dj95 avatar Oct 15 '24 16:10 dj95

Might be good to not just define the background color (or a single color) but a list of colors.

Similar to what kitty does with transparent_background_colors

  • https://github.com/kovidgoyal/kitty/issues/7646#issuecomment-2363020183

This, I think, could be a nice solution for cases @dj95 mentions.

topaxi avatar Oct 27 '24 12:10 topaxi