Skip to content

Commit

Permalink
Fix placement of unfocused appearance section (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnamon-msft authored Apr 14, 2021
1 parent 86d2842 commit 25d9bc0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
26 changes: 0 additions & 26 deletions TerminalDocs/customize-settings/appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,32 +149,6 @@ This sets the width of the tabs. `"equal"` makes each tab the same width. `"titl

___

## Unfocused appearance settings ([Preview](https://aka.ms/terminal-preview))

An object you can add to a profile that applies settings to the profile when it is unfocused. This setting only accepts appearance settings.

**Property name:** `unfocusedAppearance`

**Necessity:** Optional

**Accepts:** `backgroundImage`, `backgroundImageAlignment`, `backgroundImageOpacity`, `backgroundImageStretchMode`, `cursorHeight`, `cursorShape`, `cursorColor`, `colorScheme`, `foreground`, `background`, `selectionBackground`, `experimental.retroTerminalEffect`, `experimental.pixelShaderPath`

**Example:**
```json
// Sets the profile's background image opacity to 0.3 when it is unfocused
"unfocusedAppearance":
{
"backgroundImageOpacity": 0.3
},
```

> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
<br />

___

## Disable pane animations

This disables visual animations across the application when set to `true`.
Expand Down
28 changes: 28 additions & 0 deletions TerminalDocs/customize-settings/profile-appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,34 @@ This sets the cursor color of the profile. This will override the `cursorColor`

___

## Unfocused appearance settings

### Unfocused appearance settings ([Preview](https://aka.ms/terminal-preview))

An object you can add to a profile that applies settings to the profile when it is unfocused. This setting only accepts appearance settings.

**Property name:** `unfocusedAppearance`

**Necessity:** Optional

**Accepts:** `backgroundImage`, `backgroundImageAlignment`, `backgroundImageOpacity`, `backgroundImageStretchMode`, `cursorHeight`, `cursorShape`, `cursorColor`, `colorScheme`, `foreground`, `background`, `selectionBackground`, `experimental.retroTerminalEffect`, `experimental.pixelShaderPath`

**Example:**
```json
// Sets the profile's background image opacity to 0.3 when it is unfocused
"unfocusedAppearance":
{
"backgroundImageOpacity": 0.3
},
```

> [!IMPORTANT]
> This feature is only available in [Windows Terminal Preview](https://aka.ms/terminal-preview).
<br />

___

## Pixel shader effects

This setting allows a user to specify the path to a custom pixel shader to use with the terminal content. This is an experimental feature and its continued existence is not guaranteed. For more details on authoring custom pixel shaders for the terminal, see [this documentation](https://github.com/microsoft/terminal/blob/main/samples/PixelShaders/README.md).
Expand Down

0 comments on commit 25d9bc0

Please sign in to comment.