-
Notifications
You must be signed in to change notification settings - Fork 0
/
omp.json
105 lines (105 loc) · 2.55 KB
/
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh3/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4"
},
{
"type": "root",
"style": "powerline",
"foreground": "#000000",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full"
}
},
{
"type": "path",
"style": "powerline",
"foreground": "#ffffff",
"background": "#0000ff",
"powerline_symbol": "\uE0B4",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"foreground": "#000000",
"background": "#D4E157",
"powerline_symbol": "\uE0B4",
"properties": {
"template": "{{ .HEAD }}"
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "python",
"style": "diamond",
"foreground": "#000000",
"background": "#D4E157",
"leading_diamond": "\uE0B6",
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "go",
"style": "diamond",
"foreground": "#ffffff",
"background": "#7FD5EA",
"leading_diamond": "\uE0B6",
"display_version": true,
"properties": {
"postfix": " <#000000>\uE0B6</>"
}
},
{
"type": "time",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\uE0B6",
"trailing_diamond": "\uE0B4",
"properties": {
"time_format": "15:04:05"
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "exit",
"style": "plain",
"foreground": "#D4E157",
"foreground_templates": ["{{ if gt .Code 0 }}#FF5252{{ end }}"],
"properties": {
"template": "\u276F",
"prefix": "",
"always_enabled": true
}
}
]
}
]
}