mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +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 |
||
---|---|---|
.. | ||
colorschemes | ||
config | ||
install | ||
screenshots | ||
_config.yml | ||
book.toml | ||
changelog.markdown | ||
contributing.markdown | ||
copymode.markdown | ||
custom.css | ||
faq.markdown | ||
features.markdown | ||
help.markdown | ||
hyperlinks.markdown | ||
imgcat.markdown | ||
index.markdown | ||
installation.markdown | ||
lua.js | ||
multiplexing.markdown | ||
scrollback.markdown | ||
serial.markdown | ||
shell-integration.markdown | ||
ssh.markdown |