-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.adynetro.omp.json
112 lines (112 loc) · 3.6 KB
/
.adynetro.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#000000",
"foreground": "#ffffff",
"leading_diamond": "\ue0b6",
"properties": {
"display_host": false,
"display_user": false
},
"style": "diamond",
"template": " \ue231 {{ if .SSHSession }}\uf817 {{ end }}",
"type": "session"
},
{
"background": "#f71616",
"foreground": "#ffcc00",
"powerline_symbol": "\ue0b0",
"properties": {
"root_icon": " \uf0e7"
},
"style": "powerline",
"template": "\uf0e7 ",
"type": "root"
},
{
"background": "#ffd000",
"foreground": "#000000",
"powerline_symbol": "\ue0b0",
"properties": {
"style": "folder"
},
"style": "powerline",
"template": " \uf115 {{ .Path }} ",
"type": "path"
},
{
"background": "#4486ff",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff7601{{ end }}",
"{{ if gt .Ahead 0 }}#ff5144{{ end }}",
"{{ if gt .Behind 0 }}#4486ff{{ end }}"
],
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "\ue0a0",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}} \uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
"type": "git"
},
{
"background": "#0b6d34",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node"
},
{
"background": "#055c8f",
"foreground": "#ffffff",
"properties": {
"parse_kubeconfig": true
},
"style": "diamond",
"template": " \ue7b7 {{if .Namespace}}{{.Cluster}} \ue0b1 {{.Namespace}} {{else}}default{{end}} ",
"trailing_diamond": "\ue0b0",
"type": "kubectl"
},
{
"background": "#8800dd",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"always_enabled": true,
"style": "austin",
"threshold": 500
},
"style": "powerline",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "#0c82c6",
"background_templates": [
"{{ if gt .Code 0 }}#a50202{{ end }}"
],
"foreground": "#ffffff",
"properties": {
"always_enabled": true
},
"style": "diamond",
// "template": " \uf62b{{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }} ",
"trailing_diamond": "\ue0b0",
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}