Windows Terminal installation and landscaping

windows terminal is the introduction of Microsoft's Build conference this year a new terminal, used instead of the third-party terminal cmder like. With a transparent acrylic, multi-tag, Unicode support (Chinese, Emoji), comes with a monospaced font such as these characteristics.
Microsoft can now be installed inside the store, the system requirements are win10 1903 and above, but is still a preview, there may be some bug, but I have not met with.


Click can be installed directly, open to Chou Chou long-sawed.

To be honest looked a bit ugly, then let us beautify it right ~

Custom Configuration

Windows Terminal offers many setup and configuration options, you can customize the appearance of the Terminal settings. Configuration file format is json, the programmer is very friendly.
Open the Settings

{
    "globals" : 
    {
        "alwaysShowTabs" : true,
        "copyOnSelect" : false,
        "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
        "initialCols" : 120,
        "initialRows" : 30,
        "keybindings" : 
        [
            ...
        ],
        "requestedTheme" : "system",
        "showTabsInTitlebar" : true,
        "showTerminalTitleInTitlebar" : true,
        "wordDelimiters" : " ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?\u2502"
    },
    "profiles" : 
    [
        {
            "acrylicOpacity" : 0.5,
            "background" : "#012456",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "powershell.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "bar",
            "fontFace" : "Consolas",
            "fontSize" : 10,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Windows PowerShell",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : false
        },
        ...
    ],
    "schemes" : 
    [
        ...
    ]
}

Structure is very simple, Globals is a global setting, different Profiles are individual shell configurations, color schemes are schemes, ms-appx: /// xxx xxx refers to the application package file on the computer corresponding to the path I C: \ Program Files \ WindowsApps \ Microsoft.WindowsTerminal_0.4.2382.0_x64__8wekyb3d8bbwe

Set the default shell

"defaultProfile": "{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}"

The defaultProfile set profile of guid value can I set the guid for wsl

Set the font

"fontFace": "DejaVu Sans Mono"

Set background

   "acrylicOpacity": 0.5,
   "useAcrylic": true,
   "backgroundImage": "C:\\Users\\Kira Yoshikage\\Pictures\\wallhaven-36230.png",
   "backgroundImageOpacity": 0.75,
   "backgroundImageStretchMode": "fill"

Set schemes

{
 "schemes": [
    {
      "name": "Campbell",
      "foreground": "#F2F2F2",
      "background": "#0C0C0C",
      "colors": [
        "#0C0C0C",
        "#C50F1F",
        "#13A10E",
        "#C19C00",
        "#0037DA",
        "#881798",
        "#3A96DD",
        "#CCCCCC",
        "#767676",
        "#E74856",
        "#16C60C",
        "#F9F1A5",
        "#3B78FF",
        "#B4009E",
        "#61D6D6",
        "#F2F2F2"
      ]
    },
    {
      "name": "Solarized Dark",
      "foreground": "#FDF6E3",
      "background": "#073642",
      "colors": [
        "#073642",
        "#D30102",
        "#859900",
        "#B58900",
        "#268BD2",
        "#D33682",
        "#2AA198",
        "#EEE8D5",
        "#002B36",
        "#CB4B16",
        "#586E75",
        "#657B83",
        "#839496",
        "#6C71C4",
        "#93A1A1",
        "#FDF6E3"
      ]
    },
    {
      "name": "Solarized Light",
      "foreground": "#073642",
      "background": "#FDF6E3",
      "colors": [
        "#073642",
        "#D30102",
        "#859900",
        "#B58900",
        "#268BD2",
        "#D33682",
        "#2AA198",
        "#EEE8D5",
        "#002B36",
        "#CB4B16",
        "#586E75",
        "#657B83",
        "#839496",
        "#6C71C4",
        "#93A1A1",
        "#FDF6E3"
      ]
    },
    {
      "name": "Ubuntu",
      "foreground": "#EEEEEC",
      "background": "#2C001E",
      "colors": [
        "#EEEEEC",
        "#16C60C",
        "#729FCF",
        "#B58900",
        "#268BD2",
        "#D33682",
        "#2AA198",
        "#EEE8D5",
        "#002B36",
        "#CB4B16",
        "#586E75",
        "#657B83",
        "#839496",
        "#6C71C4",
        "#93A1A1",
        "#FDF6E3"
      ]
    },
    {
      "name": "UbuntuLegit",
      "foreground": "#EEEEEE",
      "background": "#2C001E",
      "colors": [
        "#4E9A06",
        "#CC0000",
        "#300A24",
        "#C4A000",
        "#3465A4",
        "#75507B",
        "#06989A",
        "#D3D7CF",
        "#555753",
        "#EF2929",
        "#8AE234",
        "#FCE94F",
        "#729FCF",
        "#AD7FA8",
        "#34E2E2",
        "#EEEEEE"
      ]
    }
}

Final Results

Guess you like

Origin www.cnblogs.com/KiraYoshikage/p/11443741.html