Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZyMa-1 committed Jul 19, 2023
1 parent f99e2a0 commit 8f3c7d2
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,27 @@ Under curtains, my script loads `default-style.yaml` file which looks like that:
```yaml
####################
#
# border-thickness: {number}% | Border thickness in pixels relative to min(width, height)
# border-thickness: {number}px | Thickness in pixels
# border-thickness: {int number}px | Thickness in pixels
# border-thickness: {float number}% | Border thickness in pixels relative to min(width, height)
#
# border-color: {string} | Name of the color: "black", "white", etc.
# border-color: {0-255},{0-255},{0-255} | RGB color
# border-color: {string} | Name of the color: "black", "white", etc.
# border-color: {0-255},{0-255},{0-255} | RGB color
#
# font-size: {number}px | Font size in pixels
# font-size: {number}% | Font size in pixels relative to min(width, height)
# font-size: {int number}px | Font size in pixels
# font-size: {float number}% | Font size in pixels relative to min(width, height)
#
# font-color: {string} | Name of the color: "black", "white", etc.
# font-color: {0-255},{0-255},{0-255} | RGB color
# crop-vertical-size: {int number}px | Crop image from the top and the bottom by a given amount of pixels
# crop-vertical-size: {float number}% | Crop image from the top and the bottom by a given amount of pixels
# | relative to min(width, height)
#
# font-family: {string} | Path to the 'ttf' font file
# font-family: default | Converts to data/fonts/SourceCodePro-Regular.ttf
# font-color: {string} | Name of the color: "black", "white", etc.
# font-color: {0-255},{0-255},{0-255} | RGB color
#
# text: YAML list of python f-strings |
# text: default | ["{artist} - {title}", "Beatmap by {creator}"]
# font-family: {string} | Path to the 'ttf' font file
# font-family: default | 'data/fonts/SourceCodePro-Regular.ttf'
#
# text: YAML list of python f-strings |
# text: default | ["{artist} - {title}", "Beatmap by {creator}"]
#
# Available f-strings: ('title', 'title_unicode', 'artist', 'artist_unicode',
# 'creator', 'source', 'beatmap_id', 'beatmap_set_id')
Expand All @@ -56,6 +60,7 @@ parameters:
border-thickness: 5%
border-color: white
font-size: 60px
crop-vertical-size: 15%
font-color: white
font-family: default
text: default
Expand Down

0 comments on commit 8f3c7d2

Please sign in to comment.