Skip to content

Commit 3d493b2

Browse files
JustinGroteJanDeDobbeleer
authored andcommitted
docs: add note about default prefix/postfix settings
closes #859
1 parent 5ed452e commit 3d493b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docs/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ if we're at the last segment). Expects segments to have a colored background, el
179179
#### Plain
180180

181181
Simple. Colored text on a transparent background. Make sure to set `foreground` for maximum enjoyment.
182+
Segments will be separated by empty spaces unless you specify `''` for the `prefix` and `postfix` settings for the segment.
182183

183184
#### Diamond
184185

@@ -265,10 +266,14 @@ You can use these on any segment, the engine is responsible for adding them corr
265266
##### Prefix
266267

267268
The string content will be put in front of the segment's output text. Useful for symbols, text or other customizations.
269+
If this is not set, it will be an empty space in `plain` mode. If you want to remove the space before the segment,
270+
specify this as `''`.
268271

269272
##### Postfix
270273

271274
The string content will be put after the segment's output text. Useful for symbols, text or other customizations.
275+
If this is not set, it will default to an empty space in `plain` mode. If you want to remove the space after the segment,
276+
specify this as `''`.
272277

273278
##### Include / Exclude Folders
274279

0 commit comments

Comments
 (0)