cmd快捷键_如何美化你的cmd(Windows Terminal)窗口

2023-05-16

本文仅仅介绍如何把你的cmd窗口变得更加好看炫酷。(仅此而已 )

具备条件:windows 10(Microsoft Store功能完整)。

开搞---------->

1、在win10应用商店里搜索windows terminal ,安装它。

2、打开它的设置

此时打开的就是它的配置(设置)文件,以笔者的电脑为例,文件目录在:

C:UsersAdministratorAppDataLocalPackagesMicrosoft.WindowsTerminal_8wekyb3d8bbweLocalState

文件名称为:

profiles.json

建议使用vscode或者sublime、editplus等编辑器,

文件内容为(不一定完全一样,仅参考):

// 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": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles
        },
        "list":
        [
            {
                // Make changes here to the powershell.exe profile
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                // Make changes here to the cmd.exe profile
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "cmd",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // Add custom color schemes to this array
    "schemes": [],

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

3、了解它(配置文件说明)

alwaysShowTabs	//始终显示标签
defaultProfile	//默认终端
initialCols	//默认列数
initialRows	//默认行数
keybindings	//快捷键配置
command	//快捷键执行的命令
keys	//快捷键
requestedTheme	//主题
showTabsInTitlebar	//在标题栏中显示终端窗口标签栏
showTerminalTitleInTitlebar	//在标签栏中显示终端标签
acrylicOpacity	//不透明度
closeOnExit	//退出后关闭
colorScheme	//颜色主题
commandline	//命令行程序
cursorColor	//光标颜色
cursorShape	//光标形状
fontFace	//字体
fontSize	//字体大小
guidy//Size	//历史大小
icon	//图标
name	//名称
padding	//填充
startingDirectory	//初始目录
useAcrylic	//使用不透明度

4、修改它(配置文件)

(1)修改壁纸

选择background的颜色,将准备好的壁纸图片路径写上,并设置透明度:

                "background" : "#8280ee", 
                "backgroundImage" : "C:TDDOWNLOADwa2.jpg",
                "backgroundImageOpacity" : 0.7, 

保存配置文件,

效果图:

未完成,

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

cmd快捷键_如何美化你的cmd(Windows Terminal)窗口 的相关文章

随机推荐