Properties listed below affect the entire window, regardless of the profile settings.
下列属性对所有标签均生效,不受到配置的单独控制。
Globals属性表格
Profiles:配置文件
Properties listed below are specific to each unique profile.
下述属性特定控制单独唯一配置文件。
Profiles属性表格
Schemes:(预设配色)方案
Properties listed below are specific to each color scheme. ColorTool is a great tool you can use to create and explore new color schemes. All colors use hex color format.
Some Terminal settings allow you to specify custom background images and icons. It is recommended that custom images and icons are stored in system-provided folders and are referred to using the correct URI Schemes. URI Schemes provide a way to reference files independent of their physical paths (which may change in the future).
某些终端设置允许您指定自定义背景图像和图标。建议将自定义图像和图标存储在系统提供的文件夹中,并使用正确的URI方案进行引用。URI方案提供了一种独立于文件的物理路径(将来可能会更改)引用文件的方法。
译注:绝对路径也可以。记得json绝对路径格式为双斜杠。
The most useful URI schemes to remember when customizing background images and icons are:
自定义背景图片和图标最有用的URI方案:
⚠ Note: Do not rely on file references using the ms-appx URI Scheme (i.e. icons). These files are considered an internal implementation detail and may change name/location or may be omitted in the future.⚠注意:请勿依赖使用ms-appxURI方案的文件引用(即图标)。这些文件被视为内部实现细节,并且可能会更改名称/位置,或者将来可能会省略。
Icons:图标
Terminal displays icons for each of your profiles which Terminal generates for any built-in shells - PowerShell Core, PowerShell, and any installed Linux/WSL distros. Each profile refers to a stock icon via the ms-appx URI Scheme.
⚠ Note: Do not rely on the files referenced by the ms-appx URI Scheme - they are considered an internal implementation detail and may change name/location or may be omitted in the future.
👉 Tip: Icons should be sized to 32x32px in an appropriate raster image format (e.g. .PNG, .GIF, or .ICO) to avoid having to scale your icons during runtime (causing a noticeable delay and loss of quality.).
You can apply a background image to each of your profiles, allowing you to configure/brand/style each of your profiles independently from one another if you wish.
您可以将背景图片应用于每个配置文件,如果需要,可以彼此独立地配置/铭刻/样式化每个配置文件。
To do so, specify your preferred backgroundImage, position it using backgroundImageAlignment, set its opacity with backgroundImageOpacity, and/or specify how your image fill the available space using backgroundImageStretchMode.