Like 0

Windows Terminal 终端配置文件,包含背景图、字体、快捷键自定义,用于备份和跨设备迁移,请勿在图形设置界面点保存,避免配置被重置。

readme.md Raw
参数 作用 可选值
backgroundImage 背景图片路径 本地绝对路径,Windows 用 / 不要用 \;不需要背景图直接删掉这一行
backgroundImageOpacity 背景图透明度 0 ~ 1,数值越大越清晰,推荐 0.15–0.3
backgroundImageStretchMode 图片填充方式 uniformToFill(推荐,裁切铺满) / uniform(保持比例留白) / fill(拉伸变形)
backgroundImageAlignment 图片对齐位置 center / topLeft / topRight / bottomLeft / bottomRight
face 字体名称 需要提前安装 NerdFont 字体,如 Hack Nerd Font、JetBrainsMono Nerd Font
size 字号 浮点数,12、14、16 常用
weight 字重 regular / semi-bold / bold
opacity 终端底色透明度 0–100,100 = 完全不透明
scrollbarState 滚动条 visible 一直显示 / hidden 隐藏 / auto 滚动时才出现
useAcrylic 亚克力毛玻璃 true开启毛玻璃;开启后会和 opacity 配合生效
settings.json Raw
1{
2 "$help": "https://aka.ms/terminal-documentation",
3 "$schema": "https://aka.ms/terminal-profiles-schema",
4 "actions": [],
5 "copyFormatting": "none",
6 "copyOnSelect": false,
7 "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
8 "keybindings":
9 [
10 {
11 "id": "Terminal.CopyToClipboard",
12 "keys": "ctrl+c"
13 },
14 {
15 "id": "Terminal.PasteFromClipboard",
16 "keys": "ctrl+v"
17 },
18 {
19 "id": "Terminal.DuplicatePaneAuto",
20 "keys": "alt+shift+d"
21 }
22 ],
23 "newTabMenu":
24 [
25 {
26 "type": "remainingProfiles"
27 }
28 ],
29 "profiles":
30 {
31 "defaults":
32 {
33 "backgroundImage": "E:/桌面美化/电脑壁纸/backgroundImage.png",
34 "backgroundImageOpacity": 0.2,
35 "backgroundImageStretchMode": "uniformToFill",
36 "backgroundImageAlignment": "center",
37 "font": {
38 "face": "Hack Nerd Font",
39 "size": 14.0,
40 "weight": "normal"
41 },
42 "opacity": 100,
43 "scrollbarState": "visible",
44 "useAcrylic": false
45 },
46 "list":
47 [
48 {
49 "commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
50 "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
51 "hidden": false,
52 "name": "Windows PowerShell"
53 },
54 {
55 "commandline": "%SystemRoot%\\System32\\cmd.exe",
56 "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
57 "hidden": false,
58 "name": "\u547d\u4ee4\u63d0\u793a\u7b26"
59 },
60 {
61 "guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
62 "hidden": false,
63 "name": "PowerShell",
64 "source": "Windows.Terminal.PowershellCore"
65 },
66 {
67 "guid": "{963ff2f7-6aed-5ce3-9d91-90d99571f53a}",
68 "hidden": true,
69 "name": "Ubuntu-24.04",
70 "source": "Windows.Terminal.Wsl"
71 },
72 {
73 "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
74 "hidden": false,
75 "name": "Azure Cloud Shell",
76 "source": "Windows.Terminal.Azure"
77 },
78 {
79 "guid": "{1ceddcbe-955d-5173-8097-dcfed1393b1a}",
80 "hidden": false,
81 "name": "Developer Command Prompt for VS 2022",
82 "source": "Windows.Terminal.VisualStudio"
83 },
84 {
85 "guid": "{26f2c8c4-afc7-5325-a6eb-b6de38c745fe}",
86 "hidden": false,
87 "name": "Developer PowerShell for VS 2022",
88 "source": "Windows.Terminal.VisualStudio"
89 },
90 {
91 "guid": "{630f4ef0-4c9c-5641-ae9c-8e18247a2c85}",
92 "hidden": true,
93 "name": "Developer Command Prompt for VS 2019",
94 "source": "Windows.Terminal.VisualStudio"
95 },
96 {
97 "guid": "{9c673db9-8f6f-5d3f-a950-d5542f151a18}",
98 "hidden": true,
99 "name": "Developer PowerShell for VS 2019",
100 "source": "Windows.Terminal.VisualStudio"
101 },
102 {
103 "guid": "{d8e96812-b789-5068-a5ae-10b2fb53e95f}",
104 "hidden": false,
105 "name": "Ubuntu 24.04.1 LTS",
106 "source": "CanonicalGroupLimited.Ubuntu24.04LTS_79rhkp1fndgsc"
107 }
108 ]
109 },
110 "schemes": [],
111 "themes": []
112}