1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-28 01:06:37 +03:00
wezterm/docs/config
Wez Furlong 7f82f333f1 wezterm: revise opacity configuration
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
2020-10-23 23:16:00 -07:00
..
lua window: fix Hide action on Windows 2020-10-14 08:42:55 -07:00
appearance.markdown wezterm: revise opacity configuration 2020-10-23 23:16:00 -07:00
files.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
font-shaping.markdown docs: update for lua configuration syntax 2020-04-06 16:32:16 -07:00
fonts.markdown Add bold_brightens_ansi_colors configuration option 2020-07-18 09:02:56 -07:00
keys.markdown docs: macos: note about dead keys and IME 2020-10-18 14:07:23 -07:00
launch.markdown docs: more pane related docs 2020-10-10 10:49:36 -07:00
misc.markdown wezterm: add tab_max_width config option 2020-08-29 10:45:01 -07:00