-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
iterm2.omp.json
143 lines (143 loc) · 4.29 KB
/
iterm2.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#003543",
"foreground": "#fff",
"powerline_symbol": "\ue0b0",
"properties": {
"windows": "\uf179"
},
"style": "powerline",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os"
},
{
"background": "#003543",
"foreground": "#d2ff5e",
"powerline_symbol": "\ue0b0",
"style": "powerline",
"template": "{{ .UserName }} ",
"type": "session"
},
{
"background": "#0087D8",
"foreground": "#003544",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_separator_icon": "/",
"style": "full"
},
"style": "powerline",
"template": " \ue5ff {{ .Path }} ",
"type": "path"
},
{
"background": "#d2ff5e",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
"{{ if gt .Ahead 0 }}#89d1dc{{ end }}",
"{{ if gt .Behind 0 }}#f17c37{{ end }}"
],
"foreground": "#193549",
"powerline_symbol": "\ue0b0",
"properties": {
"fetch_stash_count": true,
"fetch_status": true
},
"style": "powerline",
"template": " {{ .HEAD }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ",
"type": "git"
},
{
"background": "#33DD2D",
"background_templates": [
"{{ if gt .Code 0 }}#f1184c{{ end }}"
],
"foreground": "#242424",
"powerline_symbol": "\ue0b0",
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": " \uea6c ",
"type": "status"
}
],
"type": "prompt"
},
{
"alignment": "right",
"segments": [
{
"background": "#f36943",
"background_templates": [
"{{if eq \"Charging\" .State.String}}#33DD2D{{end}}",
"{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}",
"{{if eq \"Full\" .State.String}}#0476d0{{end}}"
],
"foreground": "#242424",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
"template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}\uf295 \ueb2d ",
"type": "battery"
},
{
"background": "#0087D8",
"foreground": "#003544",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"display_mode": "context",
"fetch_virtual_env": true
},
"style": "powerline",
"template": " \ue235 {{ .Venv }} ",
"type": "python"
},
{
"background": "#003543",
"foreground": "#fff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"style": "powerline",
"template": "<#fff> \ue641 </>{{ .CurrentDate | date .Format }} ",
"type": "time"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#FFD700",
"style": "plain",
"template": " \u26a1 ",
"type": "root"
},
{
"foreground": "#f1184c",
"style": "plain",
"template": "🚀 ",
"type": "text"
}
],
"type": "prompt"
}
],
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"transient_prompt": {
"background": "transparent",
"foreground": "#FFD700",
"template": "{{if .Root}}\u26a1 {{end}}🚀 "
},
"version": 2
}