-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimpleMonokai.omp.json
74 lines (74 loc) · 2.29 KB
/
SimpleMonokai.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
"foreground": "red",
"template": "\uf0e7 "
},
{
"type": "path",
"style": "plain",
"foreground": "#ae81ff",
"template": "{{.Path}}",
"properties": {
"folder_icon": "\ue5ff",
"folder_separator_icon": "/",
"home_icon": "\udb80\udedc",
"style": "agnoster_short",
"max_depth": 2
}
},
{
"type": "git",
"style": "plain",
"foreground": "#a6e22e",
"foreground_templates": [
"{{if or (.Working.Changed) (.Staging.Changed)}}yellow{{end}}",
"{{if and (gt .Ahead 0) (gt .Behind 0)}}red{{end}}",
"{{if gt .Ahead 0}}green{{end}}",
"{{if gt .Behind 0}}red{{end}}"
],
"template": " \u276f {{.HEAD}}{{if .BranchStatus}} {{.BranchStatus}}{{end}}{{if .Working.Changed}} <red>\uf044 {{.Working.String}}</>{{end}}{{if and (.Staging.Changed) (.Working.Changed)}} |{{end}}{{if .Staging.Changed}} \uf046 {{.Staging.String}}{{end}}{{if gt .StashCount 0}} \udb80\udd93 {{.StashCount}}{{end}}{{if gt .WorktreeCount 0}} \uf1bb {{.WorktreeCount}}{{end}}",
"properties": {
"fetch_status": true,
"fetch_upstream_icon": true
}
},
{
"type": "python",
"style": "plain",
"foreground": "#66d9ef",
"template": " \u276f \ue235 {{if .Error}}{{.Error}}{{else}}{{if .Venv}}{{.Venv}} {{end}}{{.Full}}{{end}}",
"properties": {
"display_mode": "always",
"fetch_version": false
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "time",
"style": "plain",
"foreground": "#f92672",
"template": "[{{.CurrentDate | date .Format}}] \u276f",
"properties": {
"time_format": "15:04:05"
}
}
]
}
]
}