Commit 7ad2e8a
committed
fix: omp.json -- port leading/trailing rounded caps + final_space=false to the source theme (was only in Get-MiOS.ps1's embedded copy, but install uses the source)
Operator: "powerline doesn't reach the right side on spawn".
Earlier fixes (53c036a, eab2e5b) added a leading_diamond U+E0B6 cap on
the shell segment (line 1) + status segment (line 2), and a trailing_
diamond U+E0B4 on the time segment + final_space=false -- but those
edits landed in $Script:MiosOmpJson INSIDE Get-MiOS.ps1 (a stage-time
fallback) NOT in the source theme at usr/share/mios/oh-my-posh/mios.omp
.json which is what build-mios.ps1's Install-WindowsBranding actually
copies to M:\MiOS\themes\mios.omp.json.
So operators were getting the OLD un-capped theme on every install.
Ported the four diamond changes (line-1 leading + line-2 leading +
time trailing + status powerline-conversion) to the source theme. The
[theme.prompt] runtime substitution in build-mios.ps1 still patches
glyph values but doesn't add segments -- so the diamond placement had
to live in the source.1 parent 1d88959 commit 7ad2e8a
1 file changed
Lines changed: 25 additions & 13 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
194 | 199 | | |
195 | 200 | | |
196 | 201 | | |
| 202 | + | |
197 | 203 | | |
198 | | - | |
199 | | - | |
200 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
| |||
213 | 219 | | |
214 | 220 | | |
215 | 221 | | |
| 222 | + | |
216 | 223 | | |
217 | | - | |
218 | | - | |
219 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
220 | 230 | | |
221 | 231 | | |
222 | 232 | | |
223 | | - | |
224 | | - | |
225 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
226 | 237 | | |
227 | 238 | | |
| 239 | + | |
228 | 240 | | |
229 | 241 | | |
230 | 242 | | |
| |||
0 commit comments