-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathcobalt2.omp.json
More file actions
43 lines (43 loc) · 1.47 KB
/
cobalt2.omp.json
File metadata and controls
43 lines (43 loc) · 1.47 KB
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#1478DB",
"foreground": "#000000",
"leading_diamond": "\ue0b6",
"trailing_diamond": "\uE0B0",
"options": {
"style": "full"
},
"style": "diamond",
"template": "{{ .Path }} ",
"type": "path"
},
{
"background": "#3AD900",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#FFC600{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FF{{ end }}"
],
"foreground": "#000000",
"leading_diamond": "<transparent,background>\uE0B0</>",
"trailing_diamond": "\ue0b4",
"options": {
"fetch_status": true
},
"style": "diamond",
"template": " {{ .HEAD }}{{ if .Staging.Changed }}<#FF6F00> \uf046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 4
}