Son aktif 1758005624

[oh-my-posh主题]M365Princess_Re,在原M365Princess基础上做了微调

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