WindowsTerminal新版终端美化设置背景图⽚和标题中国象棋怎么玩
Windows Terminal
是微软在 2019 年 5 ⽉的 Build Developer 会议上宣布并于 6 ⽉份推出的⼀款开源终端应⽤程序。
Windows Terminal 包含命令提⽰符和 PowerShell 的所有优点,其主要功能之⼀是能够打开多个选项卡,每个选项卡都⽀持⾃⼰的shell。
在 Windows Terminal 中,可以运⾏ PowerShell、命令提⽰符和 Linux 终端(如 Ubuntu),只需⼀个点击就可以在它们之间切换。
它还⽀持⾃定义主题、样式、Unicode 等。
安装
在应⽤商店直接搜索 Windows Terminal
⾃定义选项卡标题
默认的Tab很长,不好看
可以通过修改"tabTitle" : "Powershell"修改Tab的名称(修改的⽅法在后⾯),修改结果如下
⾃定义背景图⽚和颜⾊
"backgroundImage":"T://2.jpg",  # 背景图⽚地址
"backgroundImageOpacity": 0.9  #透明度
配置修改⽅法
点击设置,⽤vscode或者其他编辑器打开json配置⽂件1.修改cmd
#开头的是注释,不要复制进去,配置⽂件不带注释!!
也不要全⽂复制,guid可能每台电脑都不⼀样
"backgroundImage":"T://2.jpg", # 图⽚地址北大培训
"backgroundImageOpacity":0.9,
"closeOnExit":true,
"colorScheme":"CMD",# 配⾊⽅案
"commandline":"",
"cursorColor":"#FFFFFF",清炒藕片
"cursorShape":"bar",
"fontFace":"Consolas",
"fontSize":12,  #字体⼤⼩
"guid":"{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", #这个不要复制
"historySize":9001,
"icon":"ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", "name":"cmd",
"padding":"0, 0, 0, 0",
"snapOnInput":true,
"startingDirectory":"%USERPROFILE%",
"tabTitle":"cmd",
"useAcrylic":false  # ⽑玻璃关掉
},
2.修改ubuntu
{
"acrylicOpacity":0.5,
"backgroundImage":"T://2.jpg", # 图⽚地址
"backgroundImageOpacity":0.4, # 透明度
三个当场
"closeOnExit":true,
"colorScheme":"Campbell",
"commandline":" -d Ubuntu",
"cursorColor":"#FFFFFF",
"cursorShape":"bar",
"fontFace":"Consolas",
"fontSize":12,
"guid":"{2c4de342-38b7-51cf-b940-2309a097f518}",
"historySize":9001,
"icon":"ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png", "name":"Ubuntu",
"padding":"0, 0, 0, 0",
"snapOnInput":true,
"tabTitle":"Ubuntu (WSL)",
"useAcrylic":false
},
3.修改powershell
"background":"#000000",  # 背景颜⾊因为ps默认是蓝底,这个和cmd ubuntu不⼀样"backgroundImage":"T://2.jpg", # 图⽚地址
"backgroundImageOpacity":0.9,  # 透明度
表示声音的词语
骆驼祥子手抄报图片"closeOnExit":true,
"colorScheme":"CMD",  # 配⾊⽅案
"commandline":"",
"cursorColor":"#FFFFFF",
"cursorShape":"bar",
"fontFace":"Consolas",
"fontSize":12,
"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%",
"tabTitle":"Powershell",  #tab名称
"useAcrylic":false  # ⽑玻璃关掉
}
4.修改schemes
{
"background":"#000000",  #背景纯⿊⾊
"black":"#0C0C0C",
"blue":"#0037DA",
"brightBlack":"#767676",
"brightBlue":"#3B78FF",
"brightCyan":"#61D6D6",
"brightGreen":"#16C60C",
"brightPurple":"#B4009E",
"brightRed":"#E74856",
"brightWhite":"#F2F2F2",
"brightYellow":"#F9F1A5",
"cyan":"#3A96DD",
"foreground":"#FFFFFF",  # 字体纯⽩⾊
"green":"#13A10E",
"name":"CMD",            #配置的名字
"purple":"#881798",
"red":"#C50F1F",
"white":"#CCCCCC",
"yellow":"#C19C00"
},
最后效果