chore: remove prefix and postfix

This commit is contained in:
Jan De Dobbeleer 2022-11-21 15:51:03 +01:00 committed by Jan De Dobbeleer
parent f1ffd3997a
commit 82f3400814
3 changed files with 1 additions and 3 deletions

View file

@ -44,7 +44,6 @@ func TestParseTestConfig(t *testing.T) {
"foreground": "#ffffff",
"background": "#61AFEF",
"properties": {
"prefix": " \uE5FF ",
"style": "folder",
"exclude_folders": [
"/super/secret/project"

View file

@ -63,7 +63,7 @@ The syntax is custom but should be rather straight-forward: `<foreground,backgro
`<#ffffff,#000000>this is white with black background</> <#FF479C>but this is pink</>`.
Anything between the color start `<#FF479C>` and end `</>` will be colored accordingly.
If you want `prefix` to print a colored bracket that isn't the same as the segment's `foreground`, you can
If you want to print a colored bracket that isn't the same as the segment's `foreground`, you can
do so like this:
```json

View file

@ -67,7 +67,6 @@ if we're at the last segment). Expects segments to have a colored background, el
### Plain
Simple. Colored text on a transparent background. Make sure to set `foreground` for maximum enjoyment.
Segments will be separated by empty spaces unless you specify `''` for the `prefix` and `postfix` settings for the segment.
### Diamond