-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.omp.json
More file actions
123 lines (123 loc) · 4.69 KB
/
default.omp.json
File metadata and controls
123 lines (123 loc) · 4.69 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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#ffffff",
"background": "#0077c2",
"leading_diamond": "╭─",
"template": " {{ .Icon }} ",
"properties": {
"always_enabled": true,
"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": "path",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#E4E4E4",
"background": "#444444",
"template": " {{ .Path }} ",
"properties": {
"style": "full"
}
},
{
"type": "git",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#011627",
"background": "#ffeb95",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb95{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#c5e478{{ end }}",
"{{ if gt .Ahead 0 }}#C792EA{{ end }}",
"{{ if gt .Behind 0 }}#C792EA{{ end }}"
],
"template": " {{ .HEAD }}{{ if and (eq .Ahead 0) (eq .Behind 0) }} \u2261{{end}}{{ if gt .Ahead 0 }} \u2191{{.Ahead}}{{end}}{{ if gt .Behind 0 }} \u2193{{.Behind}}{{end}} {{ if .Working.Changed }}+{{ .Working.Added }} ~{{ .Working.Modified }} -{{ .Working.Deleted }} {{ end }} ",
"properties": {
"branch_icon": "\ue725 ",
"fetch_status": true,
"fetch_upstream_icon": true
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "node",
"style": "diamond",
"foreground": "#E4E4E4",
"background": "#6ba063",
"leading_diamond": " ",
"trailing_diamond": "",
"template": "\ue718 {{ .Full }}",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ",
"yarn_icon": " <#348cba>\ue6a7</>"
}
},
{
"type": "python",
"style": "diamond",
"foreground": "#E4E4E4",
"background": "#4685b8",
"leading_diamond": " ",
"trailing_diamond": "",
"template": " \uE235 {{ .Venv }} {{ .Full }} "
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "text",
"style": "plain",
"foreground": "#0077c2",
"template": "╰─"
},
{
"type": "time",
"style": "diamond",
"foreground": "#011627",
"background": "#00c07f",
"background_templates": [
"{{ if gt .Code 0 }}#ff6562{{ end }}"
],
"leading_diamond": "",
"trailing_diamond": " ",
"template": " \u2665 {{ .CurrentDate | date .Format }} "
}
],
"newline": true
}
],
"osc99": true
}