Colors: add --colors-padding-left

This commit is contained in:
李通洲
2023-06-20 15:13:43 +08:00
parent 9369122017
commit bd71bfd9f3
7 changed files with 31 additions and 1 deletions
+1
View File
@@ -137,6 +137,7 @@ Module specific options:
--command-key <str>: Set the module key to display
--command-text <str>: Set the command text to be executed
--colors-symbol <str>: Set the symbol to be printed by Colors module. Default is block
--colors-padding-left <value>: Set the number of white spaces to print before the symbol. Default is 0
Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci"
If a value starts with a ?, it is optional. "true" will be used if not set.
+7
View File
@@ -678,6 +678,13 @@
"star"
],
"default": "block"
},
"paddingLeft": {
"title": "modules.colors.paddingLeft",
"description": "Set the number of white spaces to print before the symbol",
"type": "integer",
"minimum": 0,
"default": 0
}
}
},