diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2021-08-16 14:49:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 14:49:14 +0300 |
commit | c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d (patch) | |
tree | 07470a57149be0fdb907ffb33ccd124dfb57848a /alacritty.yml | |
parent | 9a8ae43c0aa9e598411964c458c88f58d6ec41d8 (diff) | |
download | alacritty-c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d.tar.gz alacritty-c24d7dfd0d2d8849f0398d7cb1a65d6562ee7a0d.zip |
Add option to apply opacity to all background colors
In some cases it could be desired to apply 'background_opacity'
to all background colors instead of just 'colors.primary.background',
thus adding an 'colors.opaque_background_colors' option to control that.
Fixes #741.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/alacritty.yml b/alacritty.yml index e93f3f74..04654e56 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -63,6 +63,12 @@ # - buttonless: Title bar, transparent background and no title bar buttons #decorations: full + # Background opacity + # + # Window opacity as a floating point number from `0.0` to `1.0`. + # The value `0.0` is completely transparent and `1.0` is opaque. + #opacity: 1.0 + # Startup Mode (changes require restart) # # Values for `startup_mode`: @@ -312,6 +318,13 @@ # #indexed_colors: [] + # Transparent cell backgrounds + # + # Whether or not `window.opacity` applies to all cell backgrounds or only to + # the default background. When set to `true` all cells will be transparent + # regardless of their background color. + #transparent_background_colors: false + # Bell # # The bell is rung every time the BEL control character is received. @@ -353,12 +366,6 @@ # #command: None -# Background opacity -# -# Window opacity as a floating point number from `0.0` to `1.0`. -# The value `0.0` is completely transparent and `1.0` is opaque. -#background_opacity: 1.0 - #selection: # This string contains all characters that are used as separators for # "semantic words" in Alacritty. |