-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorme10k.omp.yaml
More file actions
executable file
·104 lines (104 loc) · 3.22 KB
/
Copy pathorme10k.omp.yaml
File metadata and controls
executable file
·104 lines (104 loc) · 3.22 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
# yaml-language-server: $schema: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
final_space: true
version: 3
palette: # https://coolors.co
alert: "#E63946"
white: "#FFFFFF"
vwhite: "#E5E5E5"
ltwhite: "#E8F1F2"
yellor: "#FCA311"
ssh-fg: "#14213D"
mgreen: "#3DA35D"
ltgreen: "#96E072"
drkgreen: "#212922"
blublack: "#0E131F"
drkblue: "#13293D"
gitblue: "#3D3B8E"
gitdkblue: "#2A2865"
gitbehind: "#4543B9"
txtblue: "#14213D"
time: "#007ACC"
env-fg: "#F1EDEE"
env-bg: "#26413C"
python: "#427B21"
blocks:
- type: rprompt
segments:
- type: project
style: powerline
powerline_symbol: ""
foreground: p:env-fg
background: p:env-bg
- type: python
style: powerline
powerline_symbol:
background: p:python
properties:
fetch_version: true
template: "{{ if .Error }} {{ .Error }} {{ else }} Python {{ .Full }} {{ end }}"
- type: executiontime
style: powerline
powerline_symbol: ""
properties:
threshold: 100
style: austin
always_enabled: false
foreground: p:txtblue
background: p:vwhite
- type: time
style: plain
properties:
time_format: 3:04:05PM
foreground: p:time
template: " {{ .CurrentDate | date .Format }} "
- type: prompt
newline: true
alignment: left
segments:
- type: root
style: powerline
powerline_symbol: ""
leading_diamond: "\ue0c5"
foreground: p:white
background: p:alert
- type: session
style: powerline
powerline_symbol: ""
leading_diamond: "\ue0c5"
foreground_templates:
- "{{if .SSHSession}}p:ltgreen{{end}}"
background_templates:
- "{{if .SSHSession}}p:drkgreen{{end}}"
foreground: p:mgreen
background: p:blublack
template: " {{ if not .Root }}{{ .UserName }}{{ end }}{{ if .SSHSession}}{{ if not .Root }}@{{ .HostName }}{{ end }}{{ end }} "
- type: path
style: powerline
powerline_symbol: ""
properties:
style: agnoster_short
display_root: true
max_depth: 4
foreground: p:ltwhite
background: p:drkblue
- type: git
style: powerline
powerline_symbol: ""
leading_diamond: "\ue0c5"
background: p:gitblue
foreground: p:ltwhite
template: " \uE0A0 {{ .Ref }}{{ if gt .StashCount 0 }}*{{end}}{{ if gt .Working.Untracked 0 }}?{{ end }}{{ if gt .Ahead 0 }} \u2191{{ .Ahead }}{{ end }}{{ if gt .Staging.Added 0 }} +{{ .Staging.Added }}{{ end }}{{ if gt .Staging.Modified 0 }} ~{{ .Staging.Modified }}{{ end }} "
properties:
fetch_status: true
fetch_upstream_icon: true
source: cli
- type: git
style: powerline
powerline_symbol: ""
leading_diamond: "\ue0c5"
background: p:gitbehind
foreground: p:ltwhite
template: "{{ if gt .Working.Modified 0 }} ~{{ .Working.Modified }}{{ end }}{{ if gt .Behind 0 }} \u2193{{ .Behind }}{{ end }} "
properties:
fetch_status: true
source: cli