-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathposh-zen.toml
129 lines (112 loc) · 2.56 KB
/
posh-zen.toml
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
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
version = 3
final_space = true
console_title_template = '{{ .Shell }} in {{ .Folder }}'
[palette]
Base = '#1e1e2e'
Blue = '#89b4fa'
Crust = '#11111b'
Flamingo = '#f2cdcd'
Green = '#a6e3a1'
Lavender = '#b4befe'
Mantle = '#181825'
Maroon = '#eba0ac'
Mauve = '#cba6f7'
Overlay0 = '#6c7086'
Overlay1 = '#7f849c'
Overlay2 = '#9399b2'
Peach = '#fab387'
Pink = '#f5c2e7'
Red = '#f38ba8'
Rosewater = '#f5e0dc'
Sapphire = '#74c7ec'
Sky = '#89dceb'
Subtext0 = '#a6adc8'
Subtext1 = '#bac2de'
Surface0 = '#313244'
Surface1 = '#45475a'
Surface2 = '#585b70'
Teal = '#94e2d5'
Text = '#cdd6f4'
Yellow = '#f9e2af'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = ' {{ if .WSL }} on {{ end }}{{ .Icon }} '
foreground = 'p:Lavender'
type = 'os'
style = 'plain'
[blocks.segments.properties]
alpine = ''
arch = ''
centos = ''
debian = ''
elementary = ''
fedora = ''
gentoo = ''
linux = ''
macos = ''
manjaro = ''
mint = ''
opensuse = ''
raspbian = ''
ubuntu = ''
windows = ''
[[blocks.segments]]
template = '{{ .Path }} '
foreground = 'p:Pink'
type = 'path'
style = 'plain'
[blocks.segments.properties]
style = 'full'
[[blocks.segments]]
type = 'git'
style = 'plain'
foreground = 'p:Overlay2'
background = 'transparent'
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
[blocks.segments.properties]
branch_icon = ''
commit_icon = '@'
fetch_status = true
[[blocks]]
type = 'rprompt'
overflow = 'hide'
[[blocks.segments]]
template = '{{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1073741824.0) }}/{{ (div .PhysicalTotalMemory 1073741824.0) }}GB '
foreground = 'p:Blue'
type = 'sysinfo'
style = 'plain'
[[blocks.segments]]
template = ' {{ .FormattedMs }} '
foreground = 'p:Peach'
type = 'executiontime'
style = 'plain'
[blocks.segments.properties]
threshold = 5000
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
leading_diamond = ''
trailing_diamond = ' '
template = ' {{ if ne .Status "stopped" }} {{ .Artist }} ✦ {{ .Track }}{{ end }} '
foreground = 'p:Green'
background = 'p:Surface1'
type = 'spotify'
style = 'diamond'
[[blocks]]
type = 'prompt'
alignment = 'left'
newline = true
[[blocks.segments]]
template = '❯'
type = 'text'
style = 'plain'
foreground_templates = [
'{{ if gt .Code 0 }}p:Red{{ end }}',
'{{ if eq .Code 0}}p:Mauve{{ end }}',
]