Percentage: add --bar-border-{left|right}; remove --bar-border

This commit is contained in:
李通洲
2024-06-06 16:36:57 +08:00
parent 3f4c03b172
commit 10f5fa1e7d
6 changed files with 54 additions and 30 deletions
+9 -4
View File
@@ -499,10 +499,15 @@
"description": "Set the character to use in total part",
"default": "-"
},
"border": {
"type": "boolean",
"description": "Whether to show a border around the bar",
"default": true
"borderLeft": {
"type": "string",
"description": "Set the string to use at left border",
"default": "[ "
},
"borderRight": {
"type": "string",
"description": "Set the string to use at right border",
"default": " ]"
},
"width": {
"type": "integer",