-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathninja.omp.json
153 lines (149 loc) · 4.08 KB
/
ninja.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "white",
"properties": {
"fetch_version": false
},
"style": "plain",
"template": "({{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }})",
"type": "python"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#ffff66",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "\uf0e7",
"type": "root"
},
{
"foreground": "#26C6DA",
"properties": {
"mapped_shell_names": {
"powershell": "Desktop",
"pwsh": "Core"
}
},
"style": "plain",
"template": "\u2800{{ .Name }}\u2800",
"type": "shell"
},
{
"foreground": "#26C6DA",
"style": "plain",
"template": "\u2800{{ if .WSL }}WSL at {{ end }}{{.Icon}}\u2800",
"type": "os"
},
{
"foreground": "lightYellow",
"properties": {
"style": "full"
},
"style": "plain",
"template": "<darkGray>in </>{{ .Path }} ",
"type": "path"
},
{
"style": "plain",
"template": "<darkGray>on</> <white>git:</>{{ .HEAD }} ",
"type": "git"
},
{
"foreground": "darkGray",
"properties": {
"time_format": "3:04:05 PM"
},
"style": "plain",
"type": "time"
},
{
"foreground": "red",
"style": "plain",
"template": " C:{{ if gt .Code 0 }}{{ .Code }}{{ end }} ",
"type": "exit"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#6CA35E",
"foreground": "#ffffff",
"properties": {
"display_mode": "files",
"fetch_package_manager": true
},
"style": "plain",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node"
}
, {
"foreground": "#00ffff",
"properties": {
"display_mode": "files"
},
"style": "plain",
"template": " <white><b>#</b></> {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} ",
"type": "dotnet"
}
, {
"foreground": "#ffffff",
"properties": {
"style": "austin",
"threshold": 500
},
"style": "plain",
"template": " <#fefefe>\u231a</> {{ .FormattedMs }} ",
"type": "executiontime"
}
, {
"background_templates": [
"{{ if gt .Code 0 }}#9c1442{{ end }}"
],
"foreground": "#ffffff",
"properties": {
"always_enabled": false
},
"style": "plain",
"template": " \u203c {{.Code}}<yellow>:</> {{ .Meaning }} \u203c ",
"type": "exit"
}
// , {
// "foreground": "#8f43f3",
// "properties": {
// "precision": 1
// },
// "style": "plain",
// "template": " 💻 <#fefefe>{{ round (subf 100.0 .PhysicalPercentUsed) .Precision}}</><yellow>% 🆓</> <#fefefe>{{(index .CPU 0).Cores}}</><yellow><b>\u2a09 ±</b></><#fefefe>{{round (divf (index .CPU 0).Mhz 1000.0) .Precision }}</> Ghz ",
// "type": "sysinfo"
// }
, {
"foreground": "#ff2100",
"properties": {
"text": "$"
},
"style": "plain",
"type": "text"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}