-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paths7.omp.yaml
More file actions
316 lines (315 loc) · 8.89 KB
/
s7.omp.yaml
File metadata and controls
316 lines (315 loc) · 8.89 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
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
# yaml-language-server: $schema=https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
palette:
black: "#333333"
blue: "#33658A"
git: "#f04f33"
git-ahead: "#B388FF"
git-background: "#d1ff38"
git-behind: "#B388FF"
git-diverged: "#ff4500"
git-foreground: "#193549"
git-modified: "#FF9248"
green: "#33AA33"
orange: "#FF5400"
pink: "#FF479C"
red: "#E91E63"
white: "#EEEEEE"
yellow: "#DD6611"
var:
Name: S7
console_title_template: "{{.Folder}}"
terminal_background: "#282c34"
blocks:
- type: prompt
alignment: left
segments:
- leading_diamond:
trailing_diamond:
template: " {{ .Var.Name }} "
foreground: p:black
background: p:white
type: session
style: diamond
- template: " {{ if .WSL }}WSL at {{ end }}{{.Icon}} "
foreground: p:white
powerline_symbol:
background: p:blue
type: os
style: powerline
- options:
folder_separator_icon: " \ue0b1 "
home_icon: "~"
style: folder
template: " \uf74a {{ .Path }} "
foreground: p:white
powerline_symbol:
background: p:black
type: path
style: powerline
- options:
cache_duration: none
foreground: transparent
powerline_symbol:
background: transparent
type: text
style: accordion
- options:
cache_duration: none
root_icon:
template: " 🌟"
foreground: p:white
powerline_symbol:
background: p:orange
type: root
style: powerline
- options:
cache_duration: none
powerline_symbol:
background: p:orange
type: text
style: accordion
- type: rprompt
segments:
- options:
always_enabled: true
template: " \ue234 "
foreground: p:white
powerline_symbol:
background: p:blue
type: status
style: powerline
background_templates:
- "{{ if gt .Code 0 }}p:red{{ end }}"
invert_powerline: true
- options:
always_enabled: true
template: " 🕖{{ .FormattedMs }} "
foreground: p:white
powerline_symbol:
background: p:black
type: executiontime
style: powerline
invert_powerline: true
- options:
cache_duration: none
foreground: transparent
powerline_symbol:
background: transparent
type: text
style: accordion
invert_powerline: true
- options:
fetch_status: true
fetch_upstream_icon: true
template: " {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uf692 {{ .StashCount }}{{ end }} "
foreground: p:git-foreground
powerline_symbol:
background: p:git-background
type: git
style: powerline
background_templates:
- "{{ if or (.Working.Changed) (.Staging.Changed) }}p:git-modified{{ end }}"
- "{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:git-diverged{{ end }}"
- "{{ if gt .Ahead 0 }}p:git-ahead{{ end }}"
- "{{ if gt .Behind 0 }}p:git-behind{{ end }}"
invert_powerline: true
- options:
cache_duration: none
fetch_version: true
template: " \uf898 "
foreground: "#ffffff"
powerline_symbol:
background: "#6CA35E"
type: node
style: powerline
invert_powerline: true
- options:
cache_duration: none
fetch_version: true
template: " \ue626 "
foreground: "#111111"
powerline_symbol:
background: "#8ED1F7"
type: go
style: powerline
invert_powerline: true
- options:
cache_duration: none
fetch_version: true
template: " \ue7a8 "
foreground: "#193549"
powerline_symbol:
background: "#99908a"
type: rust
style: powerline
invert_powerline: true
- options:
cache_duration: none
display_mode: files
fetch_virtual_env: false
template: " \ue235 "
foreground: "#111111"
powerline_symbol:
background: "#FFDE57"
type: python
style: powerline
invert_powerline: true
- options:
cache_duration: none
fetch_version: true
foreground: "#000000"
powerline_symbol:
background: "#00ffff"
type: dotnet
style: powerline
invert_powerline: true
- options:
cache_duration: none
fetch_version: true
foreground: white
powerline_symbol:
background: blue
type: lua
style: powerline
invert_powerline: true
- options:
display_mode: files
fetch_version: false
template: " \uf0e7 "
foreground: "#ffffff"
powerline_symbol:
background: "#FEAC19"
type: azfunc
style: powerline
invert_powerline: true
- options:
display_default: false
template: " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} "
foreground: "#ffffff"
powerline_symbol:
type: aws
style: powerline
background_templates:
- '{{if contains "default" .Profile}}#FFA400{{end}}'
- '{{if contains "jan" .Profile}}#f1184c{{end}}'
invert_powerline: true
- options:
time_format: "15:04"
leading_diamond:
trailing_diamond:
template: " {{ .CurrentDate | date .Format }} "
foreground: p:black
background: p:white
type: time
style: diamond
invert_powerline: true
tooltips:
- options:
time_format: Monday, 02-Jan-06 15:04:05 MST
leading_diamond:
trailing_diamond:
foreground: "#ffffff"
background: "#007ACC"
type: time
style: diamond
tips:
- time
- leading_diamond:
trailing_diamond:
template: "\uf489 {{ .Name }} "
foreground: "#ffffff"
background: "#0077c2"
type: shell
style: diamond
tips:
- shell
newline: true
- template: "{{ path .Path .Location }}"
type: path
style: powerline
tips:
- pwd
- dir
- ls
- explorer
- template: " {{ if .Error }}{{ .Error }}{{ else }}{{ if .Version }}\uf487 {{.Version}}{{ end }} {{ if .Name }}{{ .Name }}{{ end }}{{ end }}"
type: project
style: plain
tips:
- project
- version
- options:
fetch_status: true
fetch_upstream_icon: false
leading_diamond:
trailing_diamond:
template: "{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}"
foreground: p:white
background: p:git
type: git
style: diamond
tips:
- git
- gh
- options:
paused_icon:
playing_icon:
stopped_icon:
template: ' {{ .Icon }}{{ if ne .Status "stopped" }}{{ .Artist }} - {{ .Track }}{{ end }} '
type: spotify
style: powerline
tips:
- spotify
- options:
precision: 2
template: "CPU: {{ (index .CPU 0).ModelName }} | Memory: {{ .PhysicalPercentUsed }}%"
type: sysinfo
style: powerline
tips:
- sys
- cpu
- mem
- memory
- sysinfo
- options:
charged_icon: "\uf0e7\uf0e7 "
charging_icon: "\uf0e7 "
discharging_icon: "\ue234 "
leading_diamond:
trailing_diamond:
template: " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 "
foreground: "#ffffff"
background: "#f36943"
type: battery
style: diamond
tips:
- battery
- power
background_templates:
- '{{if eq "Charging" .State.String}}#40c4ff{{end}}'
- '{{if eq "Discharging" .State.String}}#ff5722{{end}}'
- '{{if eq "Full" .State.String}}#4caf50{{end}}'
- leading_diamond:
trailing_diamond:
template: "{{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\uf6ff{{ end }} {{ .SSID }}"
foreground: p:white
background: p:black
type: connection
style: diamond
tips:
- wifi
- network
background_templates:
- "{{ if (lt .Signal 60) }}p:red{{ else if (lt .Signal 80) }}p:yellow{{ else }}p:green{{ end }}"
- leading_diamond:
trailing_diamond:
foreground: p:white
background: p:blue
type: session
style: diamond
tips:
- session
- computer
- hostname
version: 3
final_space: true