|
7 | 7 | { |
8 | 8 | "background": "#003543", |
9 | 9 | "foreground": "#fff", |
10 | | - "powerline_symbol": "\ue0b0", |
11 | | - "properties": { |
| 10 | + "options": { |
12 | 11 | "windows": "\uf179" |
13 | 12 | }, |
| 13 | + "powerline_symbol": "\ue0b0", |
14 | 14 | "style": "powerline", |
15 | 15 | "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}", |
16 | 16 | "type": "os" |
17 | 17 | }, |
18 | 18 | { |
19 | 19 | "background": "#003543", |
20 | 20 | "foreground": "#fff", |
21 | | - "powerline_symbol": "\ue0b0", |
22 | | - "properties": { |
| 21 | + "options": { |
23 | 22 | "windows": "\uf179" |
24 | 23 | }, |
| 24 | + "powerline_symbol": "\ue0b0", |
25 | 25 | "style": "powerline", |
26 | 26 | "template": " {{ .CurrentDate | date .Format }}", |
27 | 27 | "type": "time" |
28 | 28 | }, |
29 | 29 | { |
30 | 30 | "background": "#0087D8", |
31 | 31 | "foreground": "#fff", |
32 | | - "powerline_symbol": "\ue0b0", |
33 | | - "properties": { |
| 32 | + "options": { |
34 | 33 | "folder_separator_icon": "/", |
35 | 34 | "style": "full" |
36 | 35 | }, |
| 36 | + "powerline_symbol": "\ue0b0", |
37 | 37 | "style": "powerline", |
38 | 38 | "template": " \ue5ff {{ .Path }} ", |
39 | 39 | "type": "path" |
|
47 | 47 | "{{ if gt .Ahead 0 }}#000002{{ end }}", |
48 | 48 | "{{ if gt .Behind 0 }}#89d1dc{{ end }}" |
49 | 49 | ], |
50 | | - "powerline_symbol": "\ue0b0", |
51 | | - "properties": { |
| 50 | + "options": { |
52 | 51 | "fetch_stash_count": true, |
53 | 52 | "fetch_status": true, |
54 | 53 | "fetch_upstream_icon": true |
55 | 54 | }, |
| 55 | + "powerline_symbol": "\ue0b0", |
56 | 56 | "style": "powerline", |
57 | 57 | "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}}\udb80\udd93 {{ .StashCount }}{{ end }}{{ if gt .WorktreeCount 0}} \uf1bb {{ .WorktreeCount }}{{ end }} ", |
58 | 58 | "type": "git" |
59 | 59 | }, |
60 | 60 | { |
61 | 61 | "background": "#0087D8", |
62 | 62 | "foreground": "#003544", |
63 | | - "powerline_symbol": "\ue0b0", |
64 | | - "properties": { |
| 63 | + "options": { |
65 | 64 | "display_mode": "context", |
66 | 65 | "fetch_version": false, |
67 | 66 | "fetch_virtual_env": true |
68 | 67 | }, |
| 68 | + "powerline_symbol": "\ue0b0", |
69 | 69 | "style": "powerline", |
70 | 70 | "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ", |
71 | 71 | "type": "python" |
|
76 | 76 | "{{ if gt .Code 0 }}#f1184c{{ end }}" |
77 | 77 | ], |
78 | 78 | "foreground": "#242424", |
79 | | - "powerline_symbol": "\ue0b0", |
80 | | - "properties": { |
| 79 | + "options": { |
81 | 80 | "always_enabled": true |
82 | 81 | }, |
| 82 | + "powerline_symbol": "\ue0b0", |
83 | 83 | "style": "powerline", |
84 | 84 | "template": " \udb81\udf8f ", |
85 | 85 | "type": "exit" |
|
93 | 93 | "segments": [ |
94 | 94 | { |
95 | 95 | "foreground": "#FFD700", |
96 | | - "properties": { |
| 96 | + "options": { |
97 | 97 | "root_icon": "#" |
98 | 98 | }, |
99 | 99 | "style": "plain", |
|
112 | 112 | ], |
113 | 113 | "console_title_template": "{{ .Shell }} in {{ .Folder }}", |
114 | 114 | "final_space": true, |
115 | | - "version": 3 |
| 115 | + "version": 4 |
116 | 116 | } |
0 commit comments