-
Notifications
You must be signed in to change notification settings - Fork 0
/
.posh-theme.json
101 lines (101 loc) · 3.01 KB
/
.posh-theme.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
{
"$schema": "https://github.com/raw/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#546E7A",
"foreground": "#26C6DA",
"style": "plain",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}",
"type": "os"
},
{
"background": "#546E7A",
"foreground": "#D4E157",
"style": "plain",
"template": " {{ .UserName }}@{{ .HostName }} <#26C6DA>|</> ",
"type": "session"
},
{
"background": "#546E7A",
"foreground": "#D4E157",
"properties": {
"time_format": "15:04:05"
},
"style": "plain",
"template": "\uf017 {{ .CurrentDate | date .Format }} <#26C6DA>\ue0b1</>",
"type": "time"
},
{
"background": "#546E7A",
"foreground": "#26C6DA",
"style": "plain",
"template": " \uf0e7 ",
"type": "root"
},
{
"background": "#546E7A",
"foreground": "#26C6DA",
"properties": {
"style": "full"
},
"style": "plain",
"template": " {{ .Path }} ",
"type": "path"
},
{
"type": "git",
"style": "plain",
"powerline_symbol": "\uE0B0",
"background": "#546E7A",
"foreground": "#D4E157",
"background_templates": [
"{{ if or (.Working.Changed) (.Staging.Changed) }}#546E7A{{ end }}",
"{{ if and (gt .Ahead 0) (gt .Behind 0) }}#FFCC80{{ end }}",
"{{ if gt .Ahead 0 }}#B388FF{{ end }}",
"{{ if gt .Behind 0 }}#B388FB{{ end }}"
],
"template": "<#26C6DA>\ue0b1 </>{{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uF046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \uF692 {{ .StashCount }}{{ end }}",
"properties": {
"fetch_status": true,
"fetch_stash_count": true,
"fetch_upstream_icon": true,
"untracked_modes": {
"/Users/user/Projects/oh-my-posh/": "no"
}
}
},
{
"background": "transparent",
"foreground": "#546E7A",
"style": "plain",
"template": "\ue0b0",
"type": "text"
}
],
"type": "prompt"
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "#D4E157",
"foreground_templates": [
"{{ if gt .Code 0 }}#FF5252{{ end }}"
],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\u276f ",
"type": "exit"
}
],
"type": "prompt"
}
],
"version": 2
}