-
Notifications
You must be signed in to change notification settings - Fork 3
/
nord.omp.json
156 lines (156 loc) · 4.83 KB
/
nord.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#BF616A",
"foreground": "#ECEFF4",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \uf0e7 ",
"type": "root"
},
{
"background": "#ECEFF4",
"foreground": "#2E3440",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " {{ .UserName }}@{{ .HostName }} ",
"type": "session"
},
{
"background": "#5E81AC",
"foreground": "#2E3440",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_icon": "\uf115",
"folder_separator_icon": " \ue0b1 ",
"home_icon": "\uf7db",
"style": "agnoster"
},
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"background": "#B48EAD",
"foreground": "#ECEFF4",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
"type": "node"
},
{
"background": "#B48EAD",
"foreground": "#ECEFF4",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_version": false
},
"style": "powerline",
"template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
"type": "python"
},
{
"background": "#A3BE8C",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#D08770{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#B75A3C{{ end }}",
"{{ if gt .Ahead 0 }}#88C0D0{{ end }}",
"{{ if gt .Behind 0 }}#E3B7AA{{ end }}"
],
"foreground": "#ECEFF4",
"powerline_symbol": "\ue0b0",
"properties": {
"branch_icon": "\ue725 ",
"fetch_status": true,
"fetch_upstream_icon": true
},
"style": "powerline",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }} ",
"type": "git"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#83769c",
"foreground": "#ECEFF4",
"invert_powerline": true,
"powerline_symbol": " \ue0b2",
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "#ECEFF4",
"background_templates": [
"{{if eq \"Charging\" .State.String}}#D08770{{end}}",
"{{if eq \"Discharging\" .State.String}}#EBCB8B{{end}}",
"{{if eq \"Full\" .State.String}}#A3BE8C{{end}}"
],
"foreground": "#2E3440",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"charged_icon": "\uf583 ",
"charging_icon": "\uf588 ",
"discharging_icon": "\uf57d "
},
"style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}% ",
"type": "battery"
},
{
"background": "#ECEFF4",
"foreground": "#2E3440",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
"template": " \uf9c6 {{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }} ",
"type": "spotify"
},
{
"background": "#5E81AC",
"foreground": "#ECEFF4",
"invert_powerline": true,
"leading_diamond": "\ue0b2",
"properties": {
"time_format": "_2,15:04"
},
"style": "diamond",
"template": " \uf5ef {{ .CurrentDate | date .Format }}",
"trailing_diamond": "\ue0b4",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"style": "plain",
"template": "\uf0e7 ",
"type": "root"
},
{
"style": "plain",
"template": "\u276f ",
"type": "text"
}
],
"type": "prompt"
}
],
"version": 2
}