-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoh-my-code.omp.json
124 lines (123 loc) · 3.81 KB
/
oh-my-code.omp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"shell_integration": true,
"patch_pwsh_bleed": true,
"palette": {
"primary": "#c70d00",
"text": "#FFFFFF",
"git": "#b57df5",
"dirty": "#F09C00",
"ahead": "#4FE300",
"spotify": "#1BD760"
},
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "p:primary",
"foreground": "p:text",
"leading_diamond": "\ue0ca",
"style": "diamond",
"properties": {
"home_icon": "~",
"max_depth": 3,
"folder_separator_icon": "\\",
"style": "agnoster_full"
},
"template": " {{ .Path }} ",
"type": "path"
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\ue0bc",
"foreground": "p:text",
"background": "p:git",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:dirty{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }p:git{{ end }}",
"{{ if gt .Ahead 0 }}p:ahead{{ end }}",
"{{ if gt .Behind 0 }}p:primary{{ end }}"
],
"template": "{{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} 🚧 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}",
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true,
"branch_identical_icon": "≡",
"branch_behind_icon": "🛑",
"branch_gone_icon": "❓🌿"
}
},
{
"type": "spotify",
"style": "powerline",
"powerline_symbol": "\ue0bc",
"foreground": "p:text",
"background": "p:spotify",
"properties": {
"playing_icon": " ",
"paused_icon": " ",
"stopped_icon": " "
},
"template": " {{ if ne .Status \"stopped\" }}{{ .Track }}{{ end }}"
}
],
"type": "prompt"
},
{
"type": "rprompt",
"alignment": "right",
"segments": [
{
"background": "p:primary",
"foreground": "p:text",
"powerline_symbol": "\ue0bc",
"style": "powerline",
"template": " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}v{{ .Major }} ",
"type": "node"
},
{
"type": "dotnet",
"background": "p:primary",
"foreground": "p:text",
"powerline_symbol": "\ue0bc",
"style": "powerline",
"template": " v{{ .Major }}"
},
{
"type": "rust",
"style": "powerline",
"powerline_symbol": "\ue0bc",
"foreground": "p:text",
"background": "p:primary",
"template": " {{ .Major }} "
},
{
"type": "lua",
"style": "powerline",
"powerline_symbol": "\ue0bc",
"foreground": "p:text",
"background": "p:primary",
"template": " {{ .Major }} "
},
{
"type": "upgrade",
"style": "plain",
"foreground": "#111111",
"background": "#FFD664"
},
{
"background": "p:primary",
"foreground": "p:text",
"trailing_diamond": "\ue0c8",
"style": "diamond",
"type": "project",
"template": "{{ .Name }}"
}
]
}
],
"final_space": true,
"version": 2
}