Skip to content

Commit d7258b1

Browse files
authored
theme: add iterm2
1 parent 6e3ad9b commit d7258b1

File tree

1 file changed

+155
-0
lines changed

1 file changed

+155
-0
lines changed

themes/iterm2.omp.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
3+
"final_space": true,
4+
"console_title": true,
5+
"console_title_style": "template",
6+
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
7+
"blocks": [
8+
{
9+
"type": "prompt",
10+
"alignment": "left",
11+
"vertical_offset": 1,
12+
"segments": [
13+
{
14+
"type": "os",
15+
"style": "powerline",
16+
"powerline_symbol": "\uE0B0",
17+
"foreground": "#fff",
18+
"background": "#003543",
19+
"properties": {
20+
"prefix": " ",
21+
"windows": "\uF179",
22+
"postfix": ""
23+
}
24+
},
25+
{
26+
"type": "session",
27+
"style": "powerline",
28+
"powerline_symbol": "\uE0B0",
29+
"foreground": "#d2ff5e",
30+
"background": "#003543",
31+
"properties": {
32+
"prefix": "",
33+
"display_host": false,
34+
"postfix": " "
35+
}
36+
},
37+
{
38+
"type": "path",
39+
"style": "powerline",
40+
"powerline_symbol": "\uE0B0",
41+
"foreground": "#003544",
42+
"background": "#0087D8",
43+
"properties": {
44+
"prefix": " \uE5FF ",
45+
"style": "full",
46+
"folder_separator_icon": "/"
47+
}
48+
},
49+
{
50+
"type": "git",
51+
"style": "powerline",
52+
"powerline_symbol": "",
53+
"foreground": "#193549",
54+
"background": "#d2ff5e",
55+
"properties": {
56+
"display_stash_count": true,
57+
"display_upstream_icon": true,
58+
"status_colors_enabled": true,
59+
"display_status": true,
60+
"local_changes_color": "#ff9248",
61+
"ahead_and_behind_color": "#f26d50",
62+
"behind_color": "#f17c37",
63+
"ahead_color": "#89d1dc",
64+
"stash_count_icon": "\uF692 "
65+
}
66+
},
67+
{
68+
"type": "exit",
69+
"style": "powerline",
70+
"powerline_symbol": "\uE0B0",
71+
"foreground": "#242424",
72+
"background": "#33DD2D",
73+
"properties": {
74+
"display_exit_code": false,
75+
"always_enabled": true,
76+
"color_background": true,
77+
"error_color": "#f1184c",
78+
"prefix": " \ufc8d"
79+
}
80+
}
81+
]
82+
},
83+
{
84+
"type": "prompt",
85+
"alignment": "right",
86+
"segments": [
87+
{
88+
"type": "battery",
89+
"style": "powerline",
90+
"invert_powerline": true,
91+
"powerline_symbol": "\uE0B2",
92+
"foreground": "#242424",
93+
"background": "#f36943",
94+
"properties": {
95+
"battery_icon": "\f583",
96+
"color_background": true,
97+
"charged_color": "#0476d0",
98+
"charging_color": "#33DD2D",
99+
"discharging_color": "#FFCD58",
100+
"postfix": "\uF295 \uf583 "
101+
}
102+
},
103+
{
104+
"type": "python",
105+
"style": "powerline",
106+
"invert_powerline": true,
107+
"powerline_symbol": "\uE0B2",
108+
"foreground": "#003544",
109+
"background": "#0087D8",
110+
"properties": {
111+
"prefix": " \uE235 ",
112+
"display_version": false,
113+
"display_mode": "context",
114+
"display_virtual_env": true
115+
}
116+
},
117+
{
118+
"type": "time",
119+
"style": "powerline",
120+
"invert_powerline": true,
121+
"powerline_symbol": "\uE0B2",
122+
"foreground": "#fff",
123+
"background": "#003543",
124+
"properties": {
125+
"prefix": "<#fff> \uf64f </>"
126+
}
127+
}
128+
]
129+
},
130+
{
131+
"type": "prompt",
132+
"alignment": "left",
133+
"newline": true,
134+
"segments": [
135+
{
136+
"type": "root",
137+
"style": "plain",
138+
"foreground": "#FFD700",
139+
"properties": {
140+
"root_icon": ""
141+
}
142+
},
143+
{
144+
"type": "text",
145+
"style": "plain",
146+
"foreground": "#f1184c",
147+
"properties": {
148+
"prefix": "",
149+
"text": "🚀"
150+
}
151+
}
152+
]
153+
}
154+
]
155+
}

0 commit comments

Comments
 (0)