-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjandedobbeleer.omp.json
99 lines (99 loc) · 3.16 KB
/
jandedobbeleer.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#ff479c",
"foreground": "#ffffff",
"powerline_symbol": "\ue0b0",
"properties": {
"folder_separator_icon": " \ue0b1 ",
"home_icon": "~",
"style": "folder"
},
"style": "powerline",
"template": " \uf74a {{ .Path }} ",
"type": "path"
},
// {
// "background": "#fffb38",
// "background_templates": [
// "{{ if or (.Working.Changed) (.Staging.Changed) }}#ff9248{{ end }}",
// "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#f26d50{{ end }}",
// "{{ if gt .Ahead 0 }}#f17c37{{ end }}",
// "{{ if gt .Behind 0 }}#89d1dc{{ end }}"
// ],
// "foreground": "#193549",
// "powerline_symbol": "\ue0b0",
// "properties": {
// "fetch_stash_count": true,
// "fetch_status": false,
// "fetch_upstream_icon": true
// },
// "style": "powerline",
// "template": " {{ .HEAD }} {{ .BranchStatus }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0}}\uf692 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ",
// "type": "git"
// },
{
"background": "#ffff66",
"foreground": "#111111",
"powerline_symbol": "\ue0b0",
"properties": {
"root_icon": "\uf0ad"
},
"style": "powerline",
"template": " \uf0e7 ",
"type": "root"
},
{
"background": "#2e9599",
"background_templates": [
"{{ if gt .Code 0 }}#f1184c{{ end }}"
],
"foreground": "#ffffff",
"properties": {
"always_enabled": true
},
"style": "diamond",
"template": " \ue23a{{ if gt .Code 0 }}\uf00d{{ else }}\uf42e{{ end }} ",
"trailing_diamond": "\ue0b0",
"type": "exit"
}
],
"type": "prompt"
},
{
"segments": [
{
"background": "#0077c2",
"foreground": "#ffffff",
"invert_powerline": true,
"powerline_symbol": "\ue0b2",
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": " {{ .FormattedMs }} ",
"type": "executiontime"
},
{
"background": "#2e9599",
"foreground": "#111111",
"invert_powerline": true,
"properties": {
"time_format": "15:04"
},
"style": "diamond",
"template": " {{ .CurrentDate | date .Format }} ",
"type": "time"
}
],
"type": "rprompt"
}
],
"console_title_template": "{{ .Shell }} in {{ .Folder }}",
"final_space": true,
"version": 2
}