[ Windows ] Windows Terminal 的使用/美化

美化json代码

    
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
    "initialRows": 34,
    "initialCols": 120,
    "alwaysShowTabs": true,
    "showTerminalTitleInTitlebar": true,
    "experimental_showTabsInTitlebar": true,

    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles
            
        },
        "list":
        [
            
            {
                // Make changes here to the cmd.exe profile
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "cmd",
                "commandline": "cmd.exe",
                "colorscheme": "Campbellcmd",
                "historySize": 9001,
                "snapOnInput": true,
                "cursorColor": "#FFFFFF",
                "cursorShape": "bar",
                "fontFace": "Courier New",
                "fontSize": 11,
                "acrylicOpacity": 0.75,
                "useAcrylic": true,
                "closeOnExit": true,
                "padding": "0, 0, 0, 0",
                "backgroundImage": "E:/picture/Camera Roll/202003281013001.jpg",
                "backgroundImageOpacity" : 0.5,
                "backgroundImageStretchMode": "fill"
            },
            {
                // Make changes here to the powershell.exe profile
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                //"startingDirectory": "%USERPROFILE%",
                //"background": "#002731",
                "colorscheme": "Campbellpowershell",
                "historySize": 9001,
                "snapOnInput": true,
                "cursorColor": "#FFFFFF",
                "cursorShape": "bar",
                "commandline": "powershell.exe",
                "fontFace": "Courier New",
                "fontSize": 11,
                "acrylicOpacity": 0.5,
                "useAcrylic": false,
                "closeOnExit": true,
                "padding": "0, 0, 0, 0",
                "backgroundImage": "E:/picture/Camera Roll/201910282211001.jpg",
                "backgroundImageOpacity" : 0.5,
                "backgroundImageStretchMode": "fill"
            },
            
            {
                // Make changes here to the debian
                "guid": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}",
                "hidden": false,
                "name": "Debian",
                "source": "Windows.Terminal.Wsl",
                "colorscheme": "Campbellwsl",
                "historySize": 9001,
                "snapOnInput": true,
                "cursorColor": "#FFFFFF",
                "cursorShape": "bar",
                "commandline": "wsl ~",
                "fontFace": "Courier New",
                "fontSize": 11,
                "acrylicOpacity": 0.8,
                "useAcrylic": true,
                "closeOnExit": false,
                "padding": "10, 0, 0, 0",
                "backgroundImage": "E:/picture/Camera Roll/202004142302002.jpg", //201908261102001.jpg",
                "backgroundImageOpacity" : 0.8,
                "backgroundImageStretchMode": "fill"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // Add custom color schemes to this array
    "schemes": [
        {
            "name": "Campbellpowershell",
            "foreground": "#FECFEC", 
            "background": "#0C0C0C",
            "colors": [
                "#0C0C0C",
                "#C50F1F",
                "#13A10E",
                "#C19C00",
                "#0037DA",
                "#881798",
                "#3A96DD",
                "#CCCCCC",
                "#767676",
                "#E74856",
                "#16C60C",
                "#F9F1A5",
                "#3B78FF",
                "#B4009E",
                "#61D6D6",
                "#F2F2F2"
            ]
        },
        {
            "name": "Campbellwsl",
            "foreground": "#FEEFEE", 
            "background": "#0C0C0C",
            "colors": [
                "#0C0C0C",
                "#C50F1F",
                "#13A10E",
                "#C19C00",
                "#0037DA",
                "#881798",
                "#3A96DD",
                "#CCCCCC",
                "#767676",
                "#E74856",
                "#16C60C",
                "#F9F1A5",
                "#3B78FF",
                "#B4009E",
                "#61D6D6",
                "#F2F2F2"
            ]
        },
        {
            "name": "Campbellcmd",
            "foreground": "#A7B191", 
            "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"
            ]
        }
    ],

    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": []
}

posted @ 2020-07-17 21:22  绎丶江忆南  阅读(192)  评论(0编辑  收藏  举报