Ultima attività 1734083644

Oh-my-posh主题样式文件,基于原有配置文件做一点点自己喜欢的修改

Revisione e2350f7d48f23bef40ee408a7a481fb80ef60bbe

M365Princess_Re.omp.json Raw
1{
2 "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
3 "palette": {
4 "white": "#FFFFFF",
5 "tan": "#CC3802",
6 "teal": "#047E84",
7 "plum": "#9A348E",
8 "blush": "#DA627D",
9 "salmon": "#FCA17D",
10 "sky": "#86BBD8",
11 "teal_blue": "#33658A"
12 },
13 "blocks": [
14 {
15 "alignment": "left",
16 "segments": [
17 {
18 "type": "text",
19 "style": "diamond",
20 "leading_diamond": "\ue0b6",
21 "foreground": "p:white",
22 "background": "p:tan",
23 "template": "{{ if .Env.PNPPSHOST }} \uf8c5 {{ .Env.PNPPSHOST }} {{ end }}"
24 },
25 {
26 "type": "text",
27 "style": "powerline",
28 "foreground": "p:white",
29 "background": "p:teal",
30 "powerline_symbol": "\ue0b0",
31 "template": "{{ if .Env.PNPPSSITE }} \uf2dd {{ .Env.PNPPSSITE }}{{ end }}"
32 },
33 {
34 "type": "text",
35 "style": "diamond",
36 "trailing_diamond": "\ue0b4",
37 "foreground": "p:white",
38 "background": "p:teal",
39 "template": "{{ if .Env.PNPPSSITE }}\u00A0{{ end }}"
40 }
41 ],
42 "type": "rprompt"
43 },
44 {
45 "alignment": "left",
46 "segments": [
47 {
48 "background": "p:plum",
49 "foreground": "p:white",
50 "leading_diamond": "\ue0b6",
51 "style": "diamond",
52 "template": "{{ .UserName }} ",
53 "type": "session"
54 },
55 {
56 "background": "p:blush",
57 "foreground": "p:white",
58 "powerline_symbol": "\ue0b0",
59 "properties": {
60 "style": "folder"
61 },
62 "style": "powerline",
63 "template": " {{ .Path }} ",
64 "type": "path"
65 },
66 {
67 "background": "p:salmon",
68 "foreground": "p:white",
69 "powerline_symbol": "\ue0b0",
70 "properties": {
71 "branch_icon": "",
72 "fetch_stash_count": true,
73 "fetch_status": false,
74 "fetch_upstream_icon": true
75 },
76 "style": "powerline",
77 "template": " \u279c ({{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }}) ",
78 "type": "git"
79 },
80 {
81 "background": "p:sky",
82 "foreground": "p:white",
83 "powerline_symbol": "\ue0b0",
84 "style": "powerline",
85 "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
86 "type": "node"
87 },
88 {
89 "background": "p:teal_blue",
90 "foreground": "p:white",
91 "properties": {
92 "time_format": "15:04"
93 },
94 "style": "diamond",
95 "template": " \u2665 {{ .CurrentDate | date .Format }} ",
96 "trailing_diamond": "\ue0b0",
97 "type": "time"
98 }
99 ],
100 "type": "prompt"
101 },
102 {
103 "alignment": "left",
104 "newline": true,
105 "segments": [
106 {
107 "foreground": "p:blush",
108 "style": "plain",
109 "template": "\u279c ",
110 "type": "text"
111 }
112 ],
113 "type": "prompt"
114 }
115 ],
116 "final_space": true,
117 "version": 2
118}
119