-
Notifications
You must be signed in to change notification settings - Fork 0
/
.customtheme.omp.json.bak
133 lines (133 loc) · 4.13 KB
/
.customtheme.omp.json.bak
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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"version": 2,
"auto_upgrade": true,
"console_title_template": "{{ .Folder }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "os",
"style": "diamond",
"foreground": "#011627",
"background": "#FEF5ED",
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"properties": {
"macos": "\uf179 ",
"ubuntu": "\uf31b ",
"windows": "\ue62a "
}
},
{
"type": "time",
"style": "diamond",
"foreground": "#011627",
"background": "#FEF5ED",
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#FEF5ED>\ue0b2</>",
"template": " ♥ {{ .CurrentDate | date .Format }} ",
"properties": {
"time_format": "15:04:05"
}
},
{
"type": "sysinfo",
"style": "diamond",
"foreground": "#ffffff",
"background": "#516BEB",
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#516BEB>\ue0b2</>",
"template": "RAM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB \ue266 "
},
{
"type": "executiontime",
"style": "diamond",
"foreground": "#d6deeb",
"background": "#575656",
"leading_diamond": "\ue0b2",
"trailing_diamond": "\ue0b0",
"template": " {{ .FormattedMs }} ",
"properties": {
"style": "roundrock",
"threshold": 0
}
}
]
},
{
"type": "prompt",
"alignment": "right",
"segments": [
{
"type": "node",
"style": "diamond",
"foreground": "#000000",
"background": "#ffffff",
"leading_diamond": "\ue0b2",
"trailing_diamond": "<transparent,#ffffff>\ue0b2</>",
"template": "\ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}",
"properties": {
"fetch_package_manager": true,
"npm_icon": " <#cc3a3a>\ue5fa</> ",
"yarn_icon": " <#348cba>\ue6a7</>"
}
},
{
"type": "git",
"style": "diamond",
"foreground": "#011627",
"background": "#17D7A0",
"leading_diamond": "\ue0b2",
"trailing_diamond": "\ue0b0",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"properties": {
"branch_icon": "\ue725 ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
}
}
]
},
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "path",
"style": "diamond",
"foreground": "#62b200",
"template": " \ue5ff {{ .Path }} ",
"properties": {
"folder_icon": "\uf07b",
"home_icon": "\uf4e2",
"style": "agnoster_full"
}
},
{
"type": "status",
"style": "plain",
"foreground": "#00ff15",
"foreground_templates": [
"{{ if gt .Code 0 }}#ff0000{{ end }}"
],
"template": " \uf004 ",
"properties": {
"always_enabled": true
}
}
],
"newline": true
}
],
"transient_prompt": {
"foreground": "#FEF5ED",
"background": "transparent",
"template": "\ue285 "
}
}