-
Notifications
You must be signed in to change notification settings - Fork 0
/
kronos.omp.json
126 lines (126 loc) · 4.16 KB
/
kronos.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
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"palette": {
"user_bg": "#8AADF4",
"user_bg_ssh": "#e2913b",
"user_fg": "#FFFFFF",
"user_fg_ssh": "#011627",
"path_bg": "#F5BDE6",
"path_bg_ro": "#f45454",
"path_fg_b": "#494D64",
"path_fg_a": "#191D34",
"git_bg": "#B7BDF8",
"git_bg_changed": "#ffeb95",
"git_bg_ahdbhnd": "#c5e478",
"git_bg_ahead": "#C792EA",
"git_bg_behind": "#C792EA",
"git_fg": "#011627",
"git_fg_stage_ch": "#ef5350",
"cmd_fg": "#FFFFFF",
"cmd_bg_bad": "#CC1010",
"cmd_bg_good": "#4caf50"
},
"blocks": [
{
"type": "rprompt",
"segments": [
{
"background": "p:git_bg",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}p:git_bg_changed{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}p:git_bg_ahdbhnd{{ end }}",
"{{ if gt .Ahead 0 }}p:git_bg_ahead{{ end }}",
"{{ if gt .Behind 0 }}p:git_bg_behind{{ end }}"
],
"foreground": "p:git_fg",
"properties": {
"branch_icon": "\ue725 ",
"cherry_pick_icon": "\ue29b ",
"commit_icon": "\uf417 ",
"merge_icon": "\ue727 ",
"no_commits_icon": "\uf0c3 ",
"rebase_icon": "\ue728 ",
"revert_icon": "\uf0e2 ",
"tag_icon": "\uf412 ",
"fetch_status": true,
"fetch_upstream_icon": true,
"branch_max_length": 14
},
"leading_diamond": "\ue0b6",
"style": "diamond",
"trailing_diamond": "\ue0b4 ",
"template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}<p:git_fg_stage_ch> \uf046 {{ .Staging.String }} \uf443{{ end }} ",
"type": "git"
}
]
}, {
"alignment": "left",
"segments": [
{
"background": "p:user_bg",
"foreground": "p:user_fg",
"powerline_symbol": "\ue0b4",
"leading_diamond": "\ue0b6",
"style": "diamond",
"template": "{{.Icon}} ",
"type": "os"
},
{
"background": "p:user_bg",
"background_templates": [
"{{ if .SSHSession }}p:user_bg_ssh{{ end }}"
],
"foreground": "p:user_fg",
"foreground_templates": [
"{{ if .SSHSession }}p:user_fg_ssh{{ end }}"
],
"powerline_symbol": "\ue0b4",
"style": "diamond",
"template": "{{if .Root}} \uf0e7 {{end}}{{if .SSHSession}} \ueba9 {{end}}{{.UserName}}@{{ replaceP \"[.].*\" .HostName \"\" }}",
"type": "session"
},
{
"background": "p:path_bg",
"background_templates": [
"{{ if not .Writable }}p:path_bg_ro{{ end }}"
],
"foreground": "p:path_fg_a",
"properties": {
"folder_icon": "\uf115",
"folder_separator_icon": " \uf101",
"home_icon": "\ueb06",
"mapped_locations_enabled": true,
"mapped_locations": {
"~/Documents/Software": "\uEB00"
},
"max_depth": 2,
"cycle": [ "p:path_fg_a", "p:path_fg_b" ],
"cycle_folder_separator": true,
"style": "agnoster_short"
},
"powerline_symbol": "\ue0b4",
"style": "powerline",
"template": " {{ .Path }} ",
"type": "path"
},
{
"foreground": "p:cmd_fg",
"background": "p:cmd_bg_good",
"background_templates": [
"{{ if gt .Code 0 }}p:cmd_bg_bad{{ end }}"
],
"powerline_symbol": "\ue0b4",
"properties": {
"always_enabled": true
},
"style": "powerline",
"template": " {{ if gt .Code 0 }}\uf421{{ else }}\uf49e{{ end }} ",
"type": "exit"
}
],
"type": "prompt"
}
],
"final_space": true,
"version": 2
}