-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlucaslrodri.omp.json
200 lines (200 loc) · 6.52 KB
/
lucaslrodri.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"console_title_template": "{{ if .Root }}root @ {{ end }}{{ .Folder }} :: {{ .Shell }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "p:black",
"background": "p:white",
"leading_diamond": "\u256d\u2500\ue0b2",
"trailing_diamond": "\ue0b0",
"template": " {{.Icon}} ",
"properties": {
"alpine": "\uf300",
"arch": "\uf303",
"centos": "\uf304",
"debian": "\uf306",
"elementary": "\uf309",
"fedora": "\uf30a",
"gentoo": "\uf30d",
"linux": "\ue712",
"macos": "\ue711",
"manjaro": "\uf312",
"mint": "\uf30f",
"opensuse": "\uf314",
"raspbian": "\uf315",
"ubuntu": "\uf31c",
"windows": "\ue70f"
}
},
{
"type": "root",
"style": "diamond",
"foreground": "p:white",
"background": "p:red",
"leading_diamond": "<transparent,p:red>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": "\uf0e7 "
},
{
"type": "path",
"style": "diamond",
"foreground": "p:white",
"background": "p:blue",
"leading_diamond": "<transparent,p:blue>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": " {{ .Path }} ",
"properties": {
"folder_icon": " \ue5ff ",
"folder_separator_icon": "/",
"home_icon": " \ueb06 ",
"mapped_locations": {
"/mnt/c": " \ue70f ",
"/mnt/c/Users/lucas": " \udb83\udd86 ",
"/mnt/c/Users/lucas/Github": " \uf408 ",
"/mnt/c/Users/lucas/Insync": " \ue731 ",
"C:/": " \ue70f ",
"C:/Users/lucas/Github": " \uf408 ",
"C:/Users/lucas/Insync": " \ue731 "
},
"max_depth": 3,
"style": "agnoster_short"
}
}
],
"overflow": "hide"
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "status",
"style": "diamond",
"foreground": "p:white",
"background": "p:green",
"background_templates": [
"{{ if gt .Code 0 }}p:red{{ end }}"
],
"leading_diamond": "\ue0b2",
"trailing_diamond": "\ue0b0",
"template": " {{ if gt .Code 0 }}\uf00d{{ else }}\uf00c{{ end }} ",
"properties": {
"always_enabled": true
}
},
{
"type": "git",
"style": "diamond",
"foreground": "p:green",
"foreground_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:red{{ end }}",
"{{ if gt .Ahead 0 }}p:red{{ end }}",
"{{ if gt .Behind 0 }}p:green{{ end }}"
],
"background": "p:gray",
"leading_diamond": "<transparent,p:gray>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": " {{ .UpstreamIcon }} {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} <transparent>\ue0b1</> <p:red>\uf044 {{ .Working.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} <transparent>\ue0b1</> <p:yellow>\uf046 {{ .Staging.String }}</>{{ end }}{{ if gt .StashCount 0 }} <transparent>\ue0b1</> \ueb4b {{ .StashCount }}{{ end }} ",
"properties": {
"branch_gone_icon": "\ueab8 ",
"branch_icon": "\uf418 ",
"branch_identical_icon": "\uf444 ",
"branch_max_length": 25,
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"github_icon": "\uf408 "
}
},
{
"type": "dotnet",
"style": "diamond",
"foreground": "p:white",
"background": "p:magenta_dotnet",
"leading_diamond": "<transparent,p:magenta_dotnet>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": " [.NET] {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }} "
},
{
"type": "python",
"style": "diamond",
"foreground": "p:black",
"background": "p:yellow",
"leading_diamond": "<transparent,p:yellow>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Major }}.{{ .Minor }}{{ end }} "
},
{
"type": "node",
"style": "diamond",
"foreground": "p:black",
"background": "p:green_node",
"leading_diamond": "<transparent,p:green_node>\ue0b0</>",
"trailing_diamond": "\ue0b0",
"template": " \ue718 {{ .Full }} "
}
],
"overflow": "hide"
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "p:white",
"template": "\u2570\u2500"
},
{
"type": "time",
"style": "plain",
"foreground": "yellow",
"template": " {{ .CurrentDate | date .Format }} ",
"properties": {
"time_format": "15:04:05"
}
},
{
"type": "text",
"style": "plain",
"foreground": "red",
"template": "➜ "
}
],
"newline": true
}
],
"transient_prompt": {
"foreground": "green",
"background": "transparent",
"template": " ❯ <yellow>{{ .Segments.Time.CurrentDate | date .Segments.Time.Format }}</> <red>➜</> "
},
"secondary_prompt": {
"foreground": "green",
"background": "transparent",
"template": " ❯ <yellow>{{ .Segments.Time.CurrentDate | date .Segments.Time.Format }}</> <red>➜</> "
},
"palette": {
"black": "#262B44",
"blue": "#4B95E9",
"gray": "#3c4057",
"green": "#59C9A5",
"green_node": "#6CA35E",
"magenta_dotnet": "#7A306C",
"orange": "#F07623",
"red": "#D81E5B",
"violet": "#49416D",
"white": "#E0DEF4",
"yellow": "#F3AE35"
}
}