-
Notifications
You must be signed in to change notification settings - Fork 27
/
.moonlight.omp.json
123 lines (123 loc) · 3.74 KB
/
.moonlight.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"final_space": true,
"blocks": [
{
"type": "prompt",
"alignment": "left",
"newline": true,
"segments": [
{
"type": "path",
"style": "diamond",
"leading_diamond": "",
"trailing_diamond": "\uE0B0",
"background": "#78dbff",
"foreground": "#000000",
"template": " {{ .Path }} ",
"properties": {
"style": "unique"
}
},
{
"type": "git",
"style": "diamond",
"leading_diamond": "\uE0D7",
"trailing_diamond": "\uE0B0",
"background": "#c3e88d",
"foreground": "#000000",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ffc777{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ffdea9{{ end }}",
"{{ if gt .Ahead 0 }}#fca7ea{{ end }}",
"{{ if gt .Behind 0 }}#fed0f6{{ end }}"
],
"templates": [
" {{ .HEAD }}",
"{{ if .BranchStatus }} {{ .BranchStatus }}{{ end }}",
"{{ if .Working.Changed }} \uF448 {{ .Working.String }} {{ end }}",
"{{ if and (.Staging.Changed) (.Working.Changed) }}|{{ end }}",
"{{ if .Staging.Changed }} \uF00C {{ .Staging.String }} {{ end }}",
"{{ if gt .StashCount 0 }} \udb80\udd20{{ .StashCount }} {{ end }}"
],
"properties": {
"fetch_status": true,
"branch_icon": "",
"no_commits_icon": "\udb80\udc95"
}
},
{
"type": "text",
"style": "diamond",
"leading_diamond": "\uE0D7",
"trailing_diamond": "\uE0B0",
"background": "#000000",
"foreground": "#c3e88d",
"background_templates": [
"{{if gt .Code 0}}#ff757f{{end}}",
"{{if eq .Code 0}}#000000{{end}}"
],
"foreground_templates": [
"{{if gt .Code 0}}#000000{{end}}",
"{{if eq .Code 0}}#c3e88d{{end}}"
],
"templates": [
"{{if gt .Code 0}} \uF00D {{ reason .Code }} {{end}}",
"{{if eq .Code 0}} \uF00C {{end}}"
]
}
]
},
{
"type": "rprompt",
"alignment": "right",
"overflow": "hide",
"segments": [
{
"type": "pnpm",
"style": "diamond",
"leading_diamond": "\uE0B2",
"trailing_diamond": "\uE0D6",
"background": "#ffc777",
"foreground": "#000000",
"template": " \uDB80\uDEC1 {{ .Full }} ",
"properties": {
"extensions": ["pnpm-lock.yaml"]
}
},
{
"type": "yarn",
"style": "diamond",
"leading_diamond": "\uE0B2",
"trailing_diamond": "\uE0D6",
"background": "#7cafff",
"foreground": "#000000",
"template": " \uDB80\uDD1B {{ .Full }} ",
"properties": {
"extensions": ["yarn.lock"]
}
},
{
"type": "node",
"style": "diamond",
"leading_diamond": "\uE0B2",
"trailing_diamond": "",
"background": "#c3e88d",
"foreground": "#000000",
"template": " \uE718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"properties": {
"fetch_package_manager": true
}
},
{
"type": "npm",
"style": "plain",
"background": "#c3e88d",
"foreground": "#000000",
"template": "\u0026 {{ .Full }} "
}
]
}
]
}