mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 22:42:48 +03:00
7f82f333f1
This commit revises the opacity configuration to make it more consistently applied. * `window_background_opacity` controls the overall window capacity, whether a background image is present or not. * When a background image is present, or if the window is transparent, then text whose background color is the default background is changed to have a fully transparent background. * `text_background_opacity` controls the alpha channel value for text whose background color is NOT the default background. It defaults to 1.0 (fully opaque), but can be set to be transparent by setting it to a number between 0.0 and 1.0. * The inactive pane hue, saturation, brightness multipliers have been factored out into their own struct which changes that set of options to: ```lua return { inactive_pane_hsb = { hue = 1.0, saturation = 1.0, brightness = 1.0, }, } ``` * `window_background_image_hsb` is a new option that can apply a hue, saturation, brightness transformation to a background image. This is primarily useful to make a background image darker: ```lua return { window_background_image = "/some/pic.png", window_background_image_hsb = { brightness = 0.3, }, } ``` refs: #302 refs: #297 |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |