-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.omp.json
173 lines (173 loc) · 5.14 KB
/
theme.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"bg_dark": "#1f2335",
"bg": "#292e42",
"terminal_black": "#414868",
"fg": "#c0caf5",
"fg_dark": "#a9b1d6",
"fg_gutter": "#3b4261",
"dark3": "#545c7e",
"comment": "#565f89",
"dark5": "#737aa2",
"blue0": "#3d59a1",
"blue": "#7aa2f7",
"cyan": "#7dcfff",
"blue1": "#2ac3de",
"blue2": "#0db9d7",
"blue5": "#89ddff",
"blue6": "#b4f9f8",
"blue7": "#394b70",
"blue8": "#6183bb",
"blue9": "#536c9e",
"magenta": "#bb9af7",
"magenta2": "#ff007c",
"purple": "#9d7cd8",
"orange": "#ff9e64",
"yellow": "#e0af68",
"green": "#9ece6a",
"green1": "#73daca",
"green2": "#41a6b5",
"green3": "#449dab",
"green4": "#266d6a",
"teal": "#1abc9c",
"red": "#f7768e",
"red1": "#db4b4b",
"git-change": "#914c54",
"white": "#e6e6e6",
"black": "#181818",
"ubuntu": "#e64a19",
"windows": "#00acee"
},
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "p:terminal_black",
"foreground": "p:red",
"style": "plain",
"template": " \u26a1<p:bg_dark>\u258c</>",
"type": "root"
},
{
"background": "p:terminal_black",
"background_templates": [
"{{ if eq .OS \"ubuntu\" }}p:ubuntu{{ end }}",
"{{ if eq .OS \"windows\" }}p:windows{{ end }}"
],
"foreground": "p:fg",
"foreground_templates": [
"{{ if eq .OS \"ubuntu\" }}p:white{{ end }}",
"{{ if eq .OS \"windows\" }}p:bg_dark{{ end }}"
],
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
"trailing_diamond": "\ue0b0",
"type": "os"
},
{
"background": "p:blue0",
"foreground": "p:fg",
"leading_diamond": "<transparent,p:blue0>\ue0b0</>",
"properties": {
"folder_icon": "...",
"folder_separator_icon": " <p:bg_dark>\u276f</> ",
"home_icon": "\ueb06 ",
"max_depth": 6,
"style": "agnoster_short"
},
"style": "diamond",
"template": " {{ .Path }} ",
"trailing_diamond": "\ue0b0",
"type": "path"
},
{
"background": "p:terminal_black",
"foreground": "p:fg",
"leading_diamond": "<transparent,p:terminal_black>\ue0b0</>",
"properties": {
"style": "dallas",
"threshold": 0
},
"style": "diamond",
"template": " {{ .FormattedMs }}s ",
"trailing_diamond": "\ue0b0",
"type": "executiontime"
},
{
"background": "p:red",
"foreground": "p:bg_dark",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "<transparent> \uf12a</> {{ reason .Code }} ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "p:blue",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:orange{{ end }}",
"{{ if gt .Ahead 0 }}p:magenta{{ end }}",
"{{ if gt .Behind 0 }}p:magenta{{ end }}"
],
"foreground": "p:bg_dark",
"leading_diamond": "\ue0b2",
"properties": {
"fetch_stash_count": true,
"fetch_status": true
},
"style": "diamond",
"template": " {{ .HEAD }}{{ if .Staging.Changed }}<p:git-change> \uf046 {{ .Staging.String }}</>{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"background": "p:bg",
"foreground": "p:blue",
"leading_diamond": "\ue0b2",
"style": "diamond",
"template": " {{ .UserName }} <p:bg_dark>\u258c</> {{ .HostName }}",
"type": "session"
},
{
"background": "p:bg",
"foreground": "p:green",
"style": "plain",
"properties": {
"time_format": "15:04:05"
},
"template": " <p:bg_dark>\u258c</> {{ .CurrentDate | date .Format }} ",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "p:fg",
"foreground_templates": [
"{{ if gt .Code 0 }}p:red{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\u276f ",
"type": "status"
}
],
"type": "prompt"
}
],
"console_title_template": "{{if .Root}} \u26a1 {{end}}{{.Folder | replace \"~\" \"🏚\" }} @ {{.HostName}}",
"version": 2
}