Bar: add customizable bar color options for percentage bars

This commit is contained in:
李通洲
2025-08-01 13:50:02 +08:00
parent afe2c85047
commit c6675f82f0
5 changed files with 72 additions and 5 deletions
+25
View File
@@ -715,6 +715,31 @@
"default": ""
}
},
{
"long": "bar-color-elapsed",
"desc": "Set the color to use in the elapsed part of percentage bars",
"remark": "By default, auto selected by percent-color-{green,yellow,red}",
"arg": {
"type": "color",
"default": "<auto>"
}
},
{
"long": "bar-color-total",
"desc": "Set the color to use in the total part of percentage bars",
"arg": {
"type": "color",
"default": "light_white"
}
},
{
"long": "bar-color-border",
"desc": "Set the color to use in the borders of percentage bars",
"arg": {
"type": "color",
"default": "light_white"
}
},
{
"long": "bar-width",
"desc": "Set the width of percentage bars in characters",