2023-06-14 16:18:24 +08:00
{
2024-02-26 16:39:41 +08:00
"$schema" : "https://json-schema.org/draft-07/schema" ,
2023-06-18 02:07:34 +08:00
"$defs" : {
"colors" : {
"type" : "string" ,
2023-08-03 14:30:53 +08:00
"enum" : [
2024-05-10 13:37:46 +08:00
"reset_" , "bright_" , "dim_" , "italic_" , "underline_" , "blink_" , "inverse_" , "hidden_" , "strike_" , "light_" ,
"black" , "red" , "green" , "yellow" , "blue" , "magenta" , "cyan" , "white" , "default"
2023-08-03 14:30:53 +08:00
]
2023-06-18 12:32:47 +08:00
} ,
"key" : {
2023-10-31 15:47:55 +08:00
"description" : "Key of the module" ,
2023-06-18 12:32:47 +08:00
"type" : "string"
} ,
"keyColor" : {
2023-10-31 15:47:55 +08:00
"description" : "Color of the module key. Left empty to use `display.color.keys`" ,
2023-06-21 16:33:46 +08:00
"$ref" : "#/$defs/colors"
2023-06-18 12:32:47 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
2023-10-31 15:47:55 +08:00
"description" : "Width of the module key. Use 0 to use `display.keyWidth`" ,
2023-08-15 21:40:22 +08:00
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"description" : "Set the icon to be displayed by `display.keyType: \"icon\"`" ,
"type" : "string"
} ,
2023-06-18 12:32:47 +08:00
"format" : {
2024-06-26 14:17:09 +02:00
"description" : "Output format of the module. See `-h <module>-format` for detail. I.e: fastfetch -h disk-format" ,
2023-06-18 12:32:47 +08:00
"type" : "string"
2024-01-20 18:40:12 +08:00
} ,
2024-05-08 15:01:57 +08:00
"outputColor" : {
2024-05-10 13:37:46 +08:00
"description" : "Output color of the module. Left empty to use `display.color.output`" ,
2024-05-08 15:01:57 +08:00
"$ref" : "#/$defs/colors"
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"description" : "Threshold of percentage colors" ,
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-01-20 18:40:12 +08:00
"properties" : {
"green" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 100 ,
"description" : "Value less then green will be shown in green"
} ,
"yellow" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 100 ,
"description" : "Value greater than green and less then yellow will be shown in yellow.\nValue greater than yellow will be shown in red"
}
}
2024-02-26 16:39:41 +08:00
} ,
"temperature" : {
"description" : "Detect and display temperature if supported" ,
"oneOf" : [
{
"type" : "boolean" ,
"default" : false
} ,
{
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-02-26 16:39:41 +08:00
"properties" : {
"green" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 100 ,
2024-02-27 13:11:39 +08:00
"description" : "Value (in celsius) less then green will be shown in green"
2024-02-26 16:39:41 +08:00
} ,
"yellow" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 100 ,
2024-02-27 13:11:39 +08:00
"description" : "Value (in celsius) greater than green and less then yellow will be shown in yellow.\nValue greater than yellow will be shown in red"
2024-02-26 16:39:41 +08:00
}
}
}
]
2023-06-18 02:07:34 +08:00
}
} ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-07-21 09:46:38 +08:00
"title" : "JSON config" ,
"description" : "JSON config file for fastfetch. Usually be `~/.config/fastfetch.jsonc`" ,
2023-06-14 16:18:24 +08:00
"properties" : {
2023-06-21 16:33:46 +08:00
"$schema" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "JSON schema URL, for JSON validation and IDE intelligence" ,
2023-07-21 09:46:38 +08:00
"format" : "uri" ,
"default" : "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json"
2023-06-21 16:33:46 +08:00
} ,
2023-06-14 16:18:24 +08:00
"logo" : {
2024-06-21 10:05:54 +08:00
"description" : "Fastfetch logo configurations\nSee also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options" ,
2023-06-25 21:22:44 +08:00
"oneOf" : [
{
2023-10-31 15:47:55 +08:00
"description" : "Disable logo" ,
2024-06-21 10:05:54 +08:00
"type" : "null" ,
"const" : null
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
{
2023-10-31 15:47:55 +08:00
"description" : "Set the source file of the logo" ,
2023-06-25 21:22:44 +08:00
"type" : "string"
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
{
2023-10-31 15:47:55 +08:00
"description" : "Fastfetch logo configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-06-14 16:18:24 +08:00
"properties" : {
2023-06-25 21:22:44 +08:00
"type" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the type of the logo given" ,
2023-06-25 21:22:44 +08:00
"enum" : [
"auto" ,
"builtin" ,
2023-07-06 23:16:05 +08:00
"small" ,
2023-06-25 21:22:44 +08:00
"file" ,
"file-raw" ,
"data" ,
"data-raw" ,
"sixel" ,
"kitty" ,
2023-07-18 21:09:37 +08:00
"kitty-direct" ,
2023-06-25 21:22:44 +08:00
"iterm" ,
"chafa" ,
"raw" ,
"none"
] ,
"default" : "auto"
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
"source" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the source file of the logo"
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
"color" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Overwrite a color in the logo" ,
2023-06-25 21:22:44 +08:00
"properties" : {
"1" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 1" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"2" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 2" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"3" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 3" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"4" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 4" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"5" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 5" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"6" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 6" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"7" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 7" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"8" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 8" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
} ,
"9" : {
2023-10-31 15:47:55 +08:00
"description" : "Color 9" ,
2023-06-25 21:22:44 +08:00
"$ref" : "#/$defs/colors"
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
"width" : {
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the width of the logo (in characters). Required for iTerm image protocol" ,
2023-06-25 21:22:44 +08:00
"minimum" : 1
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
"height" : {
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the height of the logo (in characters). Required for iTerm image protocol" ,
2023-06-25 21:22:44 +08:00
"minimum" : 1
2023-06-14 16:18:24 +08:00
} ,
2023-06-25 21:22:44 +08:00
"padding" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Set the padding of the logo" ,
2023-06-25 21:22:44 +08:00
"properties" : {
"top" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the top padding of the logo" ,
2023-06-25 21:22:44 +08:00
"minimum" : 0
} ,
"left" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the left padding of the logo" ,
2023-06-25 21:22:44 +08:00
"minimum" : 0
} ,
"right" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the right padding of the logo" ,
2023-06-25 21:22:44 +08:00
"minimum" : 0
}
2024-02-28 09:17:29 +08:00
}
2023-06-25 21:22:44 +08:00
} ,
"printRemaining" : {
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to print the remaining logo, if it has more lines than modules to display" ,
2023-06-14 16:18:24 +08:00
"default" : false
} ,
2023-11-07 08:49:22 +08:00
"preserveAspectRatio" : {
2023-06-25 21:22:44 +08:00
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to preserve the aspect ratio of the logo. Supported by iTerm image protocol" ,
2023-06-25 21:22:44 +08:00
"default" : false
2023-06-14 16:18:24 +08:00
} ,
2023-08-17 16:00:24 +08:00
"recache" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "If true, regenerate image logo cache" ,
2023-08-17 16:00:24 +08:00
"default" : false
} ,
2024-06-27 10:27:17 +08:00
"position" : {
"type" : "string" ,
"description" : "Set the position of the logo should be displayed" ,
"enum" : [
"left" ,
"top" ,
"right"
] ,
"default" : "left"
2023-09-03 22:20:11 +08:00
} ,
2023-06-25 21:22:44 +08:00
"chafa" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Chafa configuration. See chafa document for details" ,
2023-06-25 21:22:44 +08:00
"properties" : {
"fgOnly" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Produce character-cell output using foreground colors only" ,
2023-06-25 21:22:44 +08:00
"default" : false
} ,
"symbols" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Specify character symbols to employ in final output"
2023-06-25 21:22:44 +08:00
} ,
"canvasMode" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Determine how colors are used in the output. This value maps the value of enum ChafaCanvasMode." ,
2023-06-25 21:22:44 +08:00
"enum" : [
"TRUECOLOR" ,
"INDEXED_256" ,
"INDEXED_240" ,
"INDEXED_16" ,
"FGBG_BGFG" ,
"FGBG" ,
"INDEXED_8" ,
"INDEXED_16_8"
]
} ,
"colorSpace" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set color space used for quantization. This value maps the value of enum ChafaColorSpace." ,
2023-06-25 21:22:44 +08:00
"enum" : [
"RGB" ,
"DIN99D"
]
} ,
"ditherMode" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set output dither mode (No effect with 24-bit color). This value maps the value of enum ChafaDitherMode." ,
2023-06-25 21:22:44 +08:00
"enum" : [
"NONE" ,
"ORDERED" ,
"DIFFUSION"
]
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
}
2023-06-25 21:22:44 +08:00
]
2023-06-14 16:18:24 +08:00
} ,
"general" : {
2023-10-31 15:47:55 +08:00
"description" : "Fastfetch general configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-06-14 16:18:24 +08:00
"properties" : {
"multithreading" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Use multiple threads to detect values" ,
2023-06-14 16:18:24 +08:00
"default" : true
} ,
2023-08-15 17:10:09 +08:00
"thread" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Alias of multithreading" ,
2023-08-15 17:10:09 +08:00
"default" : true
} ,
2023-06-14 16:18:24 +08:00
"escapeBedrock" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "On Bedrock Linux, whether to escape the bedrock jail" ,
2023-06-14 16:18:24 +08:00
"default" : true
} ,
"playerName" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "The name of the player to use for module Media and Player. Linux only"
2023-06-14 16:18:24 +08:00
} ,
2023-07-31 23:11:39 +08:00
"dsForceDrm" : {
2023-12-11 13:25:58 +08:00
"description" : "Force display detection to use DRM. Linux only" ,
"oneOf" : [
{
2024-02-26 16:39:41 +08:00
"type" : "boolean" ,
2023-12-11 13:25:58 +08:00
"const" : false ,
2023-12-14 15:49:43 +08:00
"description" : "Try `wayland`, then `x11`, then `drm`"
2023-12-11 13:25:58 +08:00
} ,
{
"type" : "string" ,
"description" : "Use `/sys/class/drm` only." ,
"const" : "sysfs-only"
} ,
{
2024-02-26 16:39:41 +08:00
"type" : "boolean" ,
2023-12-11 13:25:58 +08:00
"const" : true ,
2023-12-14 15:49:43 +08:00
"description" : "Try `libdrm` first, then `sysfs` if libdrm failed"
2023-12-11 13:25:58 +08:00
}
2023-12-14 15:49:43 +08:00
] ,
"default" : false
2023-07-31 23:11:39 +08:00
} ,
2023-06-25 14:33:13 +08:00
"wmiTimeout" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the timeout (ms) for WMI queries, `-1` for no timeout. Windows only" ,
2023-07-31 23:11:39 +08:00
"default" : 5000
2023-09-09 12:01:13 +08:00
} ,
"processingTimeout" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the timeout (ms) when waiting for child processes, `-1` for no timeout" ,
2024-09-18 16:09:38 +08:00
"default" : 5000
2024-06-25 16:15:35 +08:00
} ,
"preRun" : {
"type" : "string" ,
"description" : "Set the command to be executed before printing logos" ,
"default" : ""
2024-07-10 21:55:37 +08:00
} ,
"showVersion" : {
"type" : "boolean" ,
"description" : "Whether to detect and display component versions. Mainly for benchmarking" ,
"default" : true
2023-06-14 16:18:24 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
} ,
"display" : {
2023-10-31 15:47:55 +08:00
"description" : "Configure how things to be displayed" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-06-14 16:18:24 +08:00
"properties" : {
2023-10-25 13:39:13 +08:00
"stat" : {
2024-08-12 16:16:47 +08:00
"description" : "Show time usage (in ms) for individual modules with optional threshold" ,
"oneOf" : [
{
"type" : "boolean" ,
"default" : false
} ,
{
"type" : "integer" ,
"minimum" : 1
}
]
2023-10-25 13:39:13 +08:00
} ,
"pipe" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to enable pipe mode (disable logo and all escape sequences)" ,
2023-10-25 13:39:13 +08:00
"default" : false
} ,
2023-06-14 16:18:24 +08:00
"showErrors" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Print occurring errors to the console. False to ignore errored modules" ,
2023-06-14 16:18:24 +08:00
"default" : false
} ,
"disableLinewrap" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to disable line wrap during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
} ,
"hideCursor" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to hide the cursor during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
} ,
"separator" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the separator between key and value" ,
2023-06-14 16:18:24 +08:00
"default" : ": "
} ,
"color" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the color of the keys and title" ,
2023-06-21 16:33:46 +08:00
"oneOf" : [
2023-06-14 16:18:24 +08:00
{
2023-10-31 15:47:55 +08:00
"description" : "Set the both color of the keys and title" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
} ,
{
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-06-14 16:18:24 +08:00
"properties" : {
"keys" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the color of the keys" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
} ,
"title" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the color of the title" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2024-05-08 15:01:57 +08:00
} ,
"output" : {
"description" : "Set the color of the module output" ,
"$ref" : "#/$defs/colors"
2024-05-28 16:13:06 +08:00
} ,
"separator" : {
"description" : "Set the color of the key-value separator" ,
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
}
]
} ,
2023-08-04 16:05:25 +08:00
"brightColor" : {
2023-10-31 15:47:55 +08:00
"description" : "Set if the keys, title and ASCII logo should be printed in bright color" ,
2023-08-04 16:05:25 +08:00
"type" : "boolean" ,
"default" : true
} ,
2024-07-24 15:12:25 +08:00
"key" : {
"type" : "object" ,
"additionalProperties" : false ,
"description" : "Set how module keys should be displayed" ,
"properties" : {
"width" : {
"description" : "Align the width of keys to number of characters, 0 to disable" ,
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
} ,
"type" : {
"type" : "string" ,
2024-07-24 16:41:22 +08:00
"description" : "Set whether to show icon before string keys" ,
2024-07-24 15:12:25 +08:00
"enum" : [
"none" ,
"string" ,
"icon" ,
"both"
] ,
"default" : "string"
} ,
"paddingLeft" : {
"type" : "integer" ,
"description" : "Set the left padding of keys" ,
"minimum" : 0 ,
"default" : 0
}
}
2024-07-24 11:13:37 +08:00
} ,
2023-10-29 00:17:24 +08:00
"size" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Set how a size value should be displayed" ,
2023-10-29 00:17:24 +08:00
"properties" : {
2024-07-22 10:51:27 +08:00
"binaryPrefix" : {
"type" : "string" ,
"description" : "Set the binary prefix to used when formatting sizes" ,
"oneOf" : [
{
"const" : "iec" ,
"description" : "1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ... (standard)"
} ,
{
"const" : "si" ,
"description" : "1000 Bytes = 1 KB, 1000 KB = 1 MB, ..."
} ,
{
"const" : "jedec" ,
"description" : "1024 Bytes = 1 kB, 1024 K = 1 MB, ..."
}
]
} ,
2023-10-29 00:17:24 +08:00
"maxPrefix" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the largest binary prefix to use when formatting sizes" ,
2023-10-29 00:17:24 +08:00
"enum" : [ "B" , "kB" , "MB" , "GB" , "TB" , "PB" , "EB" , "ZB" , "YB" ] ,
"default" : "YB"
} ,
"ndigits" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the number of digits to keep after the decimal point when formatting sizes" ,
2023-10-29 00:17:24 +08:00
"minimum" : 0 ,
"maximum" : 9 ,
"default" : 2
}
}
2023-07-10 15:25:45 +08:00
} ,
2024-02-27 13:11:39 +08:00
"temp" : {
2024-02-26 10:46:13 +08:00
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-02-27 13:11:39 +08:00
"description" : "Set how temperature values should be displayed" ,
2024-02-26 10:46:13 +08:00
"properties" : {
"unit" : {
"type" : "string" ,
"description" : "Set the unit of the temperature" ,
"enum" : [ "CELSIUS" , "C" , "FAHRENHEIT" , "F" , "KELVIN" , "K" ] ,
"default" : "C"
} ,
"ndigits" : {
"type" : "integer" ,
"description" : "Set the number of digits to keep after the decimal point when formatting temperature values" ,
"minimum" : 0 ,
"maximum" : 9 ,
"default" : 1
} ,
"color" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-02-26 10:46:13 +08:00
"description" : "Set color used in different states of temperature values" ,
"properties" : {
"green" : {
"description" : "Color used in green state" ,
"$ref" : "#/$defs/colors"
} ,
"yellow" : {
"description" : "Color used in yellow state" ,
"$ref" : "#/$defs/colors"
} ,
"red" : {
"description" : "Color used in red state" ,
"$ref" : "#/$defs/colors"
}
}
}
}
2023-07-27 15:58:49 +08:00
} ,
2023-08-16 14:41:56 +08:00
"bar" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Set the bar configuration" ,
2023-08-16 14:41:56 +08:00
"properties" : {
"charElapsed" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the character to use in elapsed part" ,
2023-08-16 14:41:56 +08:00
"default" : "■"
} ,
"charTotal" : {
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the character to use in total part" ,
2023-08-16 14:41:56 +08:00
"default" : "-"
} ,
2024-06-06 16:36:57 +08:00
"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" : " ]"
2023-08-16 16:46:21 +08:00
} ,
"width" : {
"type" : "integer" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the width of the bar, in number of characters" ,
2023-08-16 16:46:21 +08:00
"minimum" : 1 ,
"default" : 10
2023-08-16 14:41:56 +08:00
}
}
} ,
2023-10-29 00:17:24 +08:00
"percent" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2023-10-31 15:47:55 +08:00
"description" : "Set how a percentage value should be displayed" ,
2023-10-29 00:17:24 +08:00
"properties" : {
"type" : {
"type" : "number" ,
2024-05-24 10:19:58 +08:00
"description" : "Set the percentage output type. 1 for percentage number, 2 for multi-color bar, 3 for both, 6 for bar only, 9 for colored number, 10 for monochrome bar" ,
2023-10-29 00:17:24 +08:00
"minimum" : 0 ,
"maximum" : 255 ,
2023-11-05 13:24:09 +08:00
"default" : 9
2023-10-29 00:17:24 +08:00
} ,
"ndigits" : {
"type" : "number" ,
2023-10-31 15:47:55 +08:00
"description" : "Set the number of digits to keep after the decimal point when formatting percentage numbers" ,
2023-10-29 00:17:24 +08:00
"minimum" : 0 ,
"maximum" : 9 ,
"default" : 0
2024-01-20 19:59:13 +08:00
} ,
"color" : {
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-01-20 19:59:13 +08:00
"description" : "Set color used in different states of percentage bars and numbers" ,
"properties" : {
"green" : {
"description" : "Color used in green state" ,
"$ref" : "#/$defs/colors"
} ,
"yellow" : {
"description" : "Color used in yellow state" ,
"$ref" : "#/$defs/colors"
} ,
"red" : {
"description" : "Color used in red state" ,
"$ref" : "#/$defs/colors"
}
}
2023-10-31 15:47:55 +08:00
}
2023-10-29 00:17:24 +08:00
}
2023-08-24 09:35:17 +08:00
} ,
2024-07-17 14:42:09 +08:00
"freq" : {
"type" : "object" ,
"additionalProperties" : false ,
"description" : "Set how frequency values should be displayed" ,
"properties" : {
"ndigits" : {
"type" : "integer" ,
2024-07-17 16:00:59 +08:00
"description" : "Set the number of digits to keep after the decimal point when formatting frequency values\nA positive value will show the frequency in GHz of decimal\n-1 will show the frequency in MHz" ,
2024-07-17 14:42:09 +08:00
"minimum" : -1 ,
"maximum" : 9 ,
"default" : 2
}
}
} ,
2023-06-14 16:18:24 +08:00
"noBuffer" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Whether to disable the stdout application buffer" ,
2023-06-14 16:18:24 +08:00
"default" : false
2024-07-15 11:00:15 +08:00
} ,
"constants" : {
"type" : "array" ,
"description" : "List of strings to be used in custom format of modules" ,
"items" : {
"type" : "string"
}
2023-06-14 16:18:24 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
} ,
"modules" : {
2023-10-31 15:47:55 +08:00
"description" : "Fastfetch modules to run" ,
2023-06-14 16:18:24 +08:00
"type" : "array" ,
"items" : {
"anyOf" : [
{
2023-06-17 22:37:33 +08:00
"type" : "string" ,
2023-10-31 15:47:55 +08:00
"description" : "Run module with default configurations" ,
2023-06-17 22:37:33 +08:00
"enum" : [
2023-06-20 14:41:01 +08:00
"battery" ,
"bios" ,
"bluetooth" ,
2024-07-28 00:05:07 +08:00
"bluetoothradio" ,
2023-06-20 14:41:01 +08:00
"board" ,
2024-05-16 18:48:17 +08:00
"bootmgr" ,
2023-06-20 14:41:01 +08:00
"break" ,
"brightness" ,
2024-09-15 10:42:22 +08:00
"btrfs" ,
2024-04-23 22:45:12 +08:00
"camera" ,
2023-06-20 14:41:01 +08:00
"chassis" ,
"cpu" ,
2024-06-05 19:15:25 +08:00
"cpucache" ,
2023-06-20 14:41:01 +08:00
"cpuusage" ,
"command" ,
"colors" ,
"cursor" ,
"datetime" ,
"display" ,
"disk" ,
2023-10-09 19:24:25 +08:00
"diskio" ,
2023-06-20 14:41:01 +08:00
"de" ,
2024-06-12 19:52:25 +08:00
"dns" ,
2024-05-22 16:13:36 +08:00
"editor" ,
2023-06-20 14:41:01 +08:00
"font" ,
"gamepad" ,
"gpu" ,
"host" ,
"icons" ,
2024-06-05 19:15:25 +08:00
"initsystem" ,
2023-06-20 14:41:01 +08:00
"kernel" ,
2023-06-20 23:01:18 +08:00
"lm" ,
2024-05-08 16:41:33 +08:00
"loadavg" ,
2023-06-20 14:41:01 +08:00
"locale" ,
"localip" ,
"media" ,
"memory" ,
2024-10-01 12:10:15 +08:00
"monitor" ,
2023-09-27 00:05:37 +08:00
"netio" ,
2023-06-20 14:41:01 +08:00
"opencl" ,
"opengl" ,
"os" ,
"packages" ,
2023-12-18 15:53:15 +08:00
"physicaldisk" ,
2024-05-16 18:48:17 +08:00
"physicalmemory" ,
2023-06-20 14:41:01 +08:00
"player" ,
"poweradapter" ,
"processes" ,
"publicip" ,
"separator" ,
"shell" ,
"sound" ,
"swap" ,
"terminal" ,
"terminalfont" ,
2023-07-26 10:27:40 +08:00
"terminalsize" ,
2024-01-22 18:50:11 +08:00
"terminaltheme" ,
2023-06-20 14:41:01 +08:00
"title" ,
"theme" ,
2024-09-25 22:55:57 +08:00
"tpm" ,
2023-06-20 14:41:01 +08:00
"uptime" ,
"users" ,
2023-08-21 09:19:16 +08:00
"version" ,
2023-06-20 14:41:01 +08:00
"vulkan" ,
"wallpaper" ,
"weather" ,
"wm" ,
"wifi" ,
2024-09-03 10:08:23 +08:00
"wmtheme" ,
"zpool"
2023-06-17 22:37:33 +08:00
]
2023-06-14 16:18:24 +08:00
} ,
{
2023-06-17 22:37:33 +08:00
"type" : "object" ,
2023-10-31 15:47:55 +08:00
"description" : "Run module with custom configurations" ,
2023-06-21 16:33:46 +08:00
"required" : [
"type"
] ,
"properties" : {
"type" : {
"type" : "string"
}
} ,
"oneOf" : [
2023-06-17 22:37:33 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Break" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-26 11:02:08 +08:00
"const" : "break" ,
"description" : "Print a empty line"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2024-02-28 09:17:29 +08:00
"title" : "module" ,
2023-10-31 15:47:55 +08:00
"description" : "No additional properties" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"anyOf" : [
{
"const" : "bios" ,
2024-05-16 18:48:17 +08:00
"description" : "Print information of 1st-stage bootloader (name, version, release date, etc)"
2023-10-09 20:27:40 +08:00
} ,
{
"const" : "board" ,
2024-05-24 13:50:26 +02:00
"description" : "Print motherboard name and other info"
2023-10-09 20:27:40 +08:00
} ,
2024-05-16 18:48:17 +08:00
{
"const" : "bootmgr" ,
"description" : "Print information of 2nd-stage bootloader (name, firmware, etc)"
} ,
2024-04-23 22:45:12 +08:00
{
"const" : "camera" ,
"description" : "Print available cameras"
} ,
2024-06-05 19:15:25 +08:00
{
"const" : "cpucache" ,
"description" : "Print CPU cache sizes"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "cursor" ,
"description" : "Print cursor style name"
} ,
{
"const" : "datetime" ,
"description" : "Print current date and time"
} ,
2024-05-22 16:13:36 +08:00
{
"const" : "editor" ,
"description" : "Print information of the default editor ($VISUAL or $EDITOR)"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "font" ,
"description" : "Print system font name"
} ,
2024-01-17 15:06:52 +08:00
{
"const" : "host" ,
"description" : "Print product name of your computer"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "icons" ,
"description" : "Print icon style name"
} ,
2024-06-05 19:15:25 +08:00
{
"const" : "initsystem" ,
"description" : "Print init system (pid 1) name and version"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "kernel" ,
"description" : "Print system kernel version"
} ,
{
"const" : "lm" ,
"description" : "Print login manager (desktop manager) name and version"
} ,
{
"const" : "locale" ,
"description" : "Print system locale name"
} ,
{
"const" : "media" ,
"description" : "Print playing song name"
} ,
2024-10-01 12:10:15 +08:00
{
"const" : "monitor" ,
2024-10-03 20:58:14 +08:00
"description" : "Alias of Display module"
2024-10-01 12:10:15 +08:00
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "opencl" ,
"description" : "Print highest OpenCL version supported by the GPU"
} ,
{
"const" : "os" ,
"description" : "Print operating system name and version"
} ,
2024-05-16 18:48:17 +08:00
{
"const" : "physicalmemory" ,
"description" : "Print system physical memory devices"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "player" ,
"description" : "Print music player name"
} ,
{
"const" : "poweradapter" ,
"description" : "Print power adapter name and charging watts"
} ,
{
"const" : "processes" ,
"description" : "Count running processes"
} ,
{
"const" : "shell" ,
"description" : "Print current shell name and version"
} ,
{
"const" : "terminal" ,
"description" : "Print current terminal name and version"
} ,
{
"const" : "terminalfont" ,
"description" : "Print font name and size used by current terminal"
} ,
{
"const" : "terminalsize" ,
"description" : "Print current terminal size"
} ,
2024-01-22 18:50:11 +08:00
{
"const" : "terminaltheme" ,
"description" : "Print current terminal theme (foreground and background colors)"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "theme" ,
2023-11-17 14:12:17 +08:00
"description" : "Print current theme of desktop environment"
2023-10-09 20:27:40 +08:00
} ,
2024-09-25 22:55:57 +08:00
{
"const" : "tpm" ,
"description" : "Print info of Trusted Platform Module (TPM) Security Device"
} ,
2023-10-09 20:27:40 +08:00
{
"const" : "uptime" ,
2023-11-17 14:12:17 +08:00
"description" : "Print how long system has been running"
2023-10-09 20:27:40 +08:00
} ,
{
"const" : "version" ,
"description" : "Print Fastfetch version"
} ,
{
"const" : "vulkan" ,
"description" : "Print highest Vulkan version supported by the GPU"
} ,
{
"const" : "wallpaper" ,
"description" : "Print image file path of current wallpaper"
} ,
{
"const" : "wifi" ,
"description" : "Print connected Wi-Fi info (SSID, connection and security protocol)"
} ,
{
"const" : "wmtheme" ,
"description" : "Print current theme of window manager"
}
2023-06-17 22:37:33 +08:00
]
} ,
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Battery" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"const" : "battery" ,
"description" : "Print battery capacity, status, etc"
2023-06-17 22:37:33 +08:00
} ,
2023-10-30 14:49:00 +08:00
"useSetupApi" : {
2023-10-31 15:47:55 +08:00
"description" : "Set if `SetupAPI` should be used on Windows to detect battery info, which supports multi batteries, but slower. Windows only" ,
2023-10-30 14:49:00 +08:00
"type" : "boolean" ,
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"temp" : {
2024-02-26 16:39:41 +08:00
"$ref" : "#/$defs/temperature"
2023-06-17 22:37:33 +08:00
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Bluetooth" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2024-07-28 00:05:07 +08:00
"description" : "List (connected) bluetooth devices" ,
2023-06-20 14:41:01 +08:00
"const" : "bluetooth"
2023-06-17 22:37:33 +08:00
} ,
"showDisconnected" : {
2023-10-31 15:47:55 +08:00
"description" : "Set if disconnected bluetooth devices should be printed" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
2024-07-28 00:05:07 +08:00
} ,
"format" : {
"$ref" : "#/$defs/format"
}
}
} ,
{
"title" : "Bluetooth Radio" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"description" : "List bluetooth radios width supported version and vendor" ,
"const" : "bluetoothradio"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
"outputColor" : {
"$ref" : "#/$defs/outputColor"
2024-07-24 14:05:46 +08:00
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
2023-10-14 10:04:08 +08:00
{
"title" : "Brightness" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-14 10:04:08 +08:00
"properties" : {
"type" : {
"const" : "brightness" ,
2023-11-17 14:12:17 +08:00
"description" : "Print current brightness level of your monitors"
2023-10-14 10:04:08 +08:00
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-10-14 10:04:08 +08:00
"ddcciSleep" : {
"type" : "integer" ,
"description" : "Set the sleep times (in ms) when sending DDC/CI requests.\nSee <https://www.ddcutil.com/performance_options/#option-sleep-multiplier> for detail" ,
"minimum" : 0 ,
"maximum" : 400 ,
"default" : 10
2024-05-09 20:20:50 +01:00
} ,
2024-09-30 15:45:06 +08:00
"compact" : {
"description" : "Set if multiple results should be printed in one line" ,
"type" : "boolean" ,
"default" : false
} ,
2024-05-09 20:20:50 +01:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-09 20:20:50 +01:00
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-05-09 20:20:50 +01:00
"format" : {
"$ref" : "#/$defs/format"
2023-10-14 10:04:08 +08:00
}
}
2023-10-30 14:31:19 +08:00
} ,
2024-09-15 10:42:22 +08:00
{
"title" : "BTRFS" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"const" : "btrfs" ,
"description" : "Print Btrfs volumes"
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
"format" : {
"$ref" : "#/$defs/format"
}
}
} ,
2023-10-30 14:31:19 +08:00
{
"title" : "Chassis" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-30 14:31:19 +08:00
"properties" : {
"type" : {
"const" : "chassis" ,
"description" : "Print chassis type (desktop, laptop, etc)"
} ,
2023-10-31 09:19:41 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-10-31 09:19:41 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-10-31 09:19:41 +08:00
"format" : {
"$ref" : "#/$defs/format"
2023-10-30 14:31:19 +08:00
}
}
2023-10-14 10:04:08 +08:00
} ,
2023-06-17 22:37:33 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "CPU" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print CPU name, frequency, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "cpu"
2023-06-17 22:37:33 +08:00
} ,
"temp" : {
2024-02-26 16:39:41 +08:00
"$ref" : "#/$defs/temperature"
2023-06-17 22:37:33 +08:00
} ,
2024-05-21 09:09:08 +08:00
"showPeCoreCount" : {
"description" : "Detect and display CPU frequency of different core types (eg. Pcore and Ecore) if supported" ,
"type" : "boolean" ,
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
2023-10-10 19:01:48 +08:00
{
"title" : "CPU Usage" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-10 19:01:48 +08:00
"properties" : {
"type" : {
"const" : "cpuusage" ,
"description" : "Print CPU usage. Costs some time to collect data"
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-10-10 19:01:48 +08:00
"separate" : {
"type" : "boolean" ,
"description" : "Display CPU usage per CPU logical core, instead of an average result" ,
"default" : false
2024-06-30 20:01:57 +08:00
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-06-30 20:01:57 +08:00
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-06-30 20:01:57 +08:00
"format" : {
"$ref" : "#/$defs/format"
2023-10-10 19:01:48 +08:00
}
}
} ,
2023-06-18 14:00:24 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Colors" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:00:24 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print some colored blocks" ,
2023-06-20 14:41:01 +08:00
"const" : "colors"
2023-06-18 14:00:24 +08:00
} ,
"symbol" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the symbol to use" ,
2023-06-18 14:00:24 +08:00
"type" : "string" ,
"enum" : [
"block" ,
2024-07-16 11:07:26 +08:00
"background" ,
2023-06-18 14:00:24 +08:00
"circle" ,
"diamond" ,
"triangle" ,
"square" ,
"star"
] ,
2024-07-16 11:07:26 +08:00
"default" : "background"
2023-06-20 15:13:43 +08:00
} ,
"paddingLeft" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the number of white spaces to print before the symbol" ,
2023-06-20 15:13:43 +08:00
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
2024-02-14 22:07:08 +08:00
} ,
"block" : {
"description" : "Set behavior of block printing" ,
"type" : "object" ,
2024-02-28 09:17:29 +08:00
"additionalProperties" : false ,
2024-02-14 22:07:08 +08:00
"properties" : {
"width" : {
"description" : "Set the block width in spaces" ,
"type" : "integer" ,
"minimum" : 1 ,
"default" : 3
} ,
"range" : {
"description" : "Set the range of colors in the blocks to print" ,
"type" : "array" ,
"items" : {
"type" : "integer" ,
"minimum" : 0 ,
"maximum" : 15
} ,
"minItems" : 2 ,
"maxItems" : 2
}
}
2024-05-01 15:54:30 +08:00
} ,
"key" : {
"$ref" : "#/$defs/key"
2024-07-24 14:05:46 +08:00
} ,
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2023-06-18 14:00:24 +08:00
}
}
} ,
2023-06-17 22:37:33 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Command" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Running custom shell scripts" ,
2023-06-20 14:41:01 +08:00
"const" : "command"
2023-06-17 22:37:33 +08:00
} ,
"shell" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the shell program to execute the command text\nDefault: cmd for Windows, /bin/sh for *nix" ,
2023-06-20 14:41:01 +08:00
"type" : "string"
2023-06-17 22:37:33 +08:00
} ,
2024-09-10 21:59:30 +08:00
"param" : {
"description" : "Set the parameter used when starting the shell\nDefault: /c for Windows, -c for *nix" ,
"type" : "string"
} ,
2023-06-17 22:37:33 +08:00
"text" : {
2023-10-31 15:47:55 +08:00
"description" : "Set the command text to be executed" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
} ,
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Custom" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print a custom string, with or without key" ,
2023-06-20 14:41:01 +08:00
"const" : "custom"
2023-06-17 22:37:33 +08:00
} ,
"key" : {
2023-10-31 15:47:55 +08:00
"description" : "Leave empty not to print the key" ,
2023-06-20 14:41:01 +08:00
"type" : "string"
2023-06-17 22:37:33 +08:00
} ,
2023-06-18 12:32:47 +08:00
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-10-31 15:47:55 +08:00
"description" : "Text to print" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
}
2024-05-01 15:54:30 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Display" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print resolutions, refresh rates, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "display"
2023-06-17 22:37:33 +08:00
} ,
"compactType" : {
2023-06-21 16:33:46 +08:00
"enum" : [
"none" ,
"original" ,
2024-02-22 16:42:23 +08:00
"scaled" ,
"original-with-refresh-rate" ,
"scaled-with-refresh-rate"
2023-06-21 16:33:46 +08:00
] ,
2023-10-31 15:47:55 +08:00
"description" : "Set if all displays should be printed in one line" ,
2023-06-17 22:37:33 +08:00
"default" : "none"
} ,
"preciseRefreshRate" : {
2023-10-31 15:47:55 +08:00
"description" : "Set if decimal refresh rates should not be rounded into integers when printing" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
2023-11-20 14:27:03 +08:00
"default" : false
2023-06-17 22:37:33 +08:00
} ,
2024-02-22 10:47:13 +08:00
"order" : {
"description" : "Set the order should be used when printing" ,
"enum" : [
"none" ,
"asc" ,
"desc"
] ,
"default" : "none"
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Disk" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print partitions, space usage, disk type, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "disk"
2023-06-17 22:37:33 +08:00
} ,
"folders" : {
"type" : "string" ,
2024-05-02 13:51:20 +08:00
"description" : "A colon (semicolon on Windows) separated list of folder paths for the disk output\nDefault: auto detection using mount-points\nThis option overrides other `show*` options"
2023-06-17 22:37:33 +08:00
} ,
"showExternal" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if external volume should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : true
} ,
"showHidden" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if hidden volumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
} ,
"showSubvolumes" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if subvolumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
} ,
2023-08-26 12:50:45 +08:00
"showReadOnly" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if read only volumes should be printed" ,
2023-08-26 12:50:45 +08:00
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"showUnknown" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if unknown (unable to detect sizes) volumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
} ,
2023-08-26 10:36:00 +08:00
"useAvailable" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Use f_bavail (lpFreeBytesAvailableToCaller for Windows) instead of f_bfree to calculate used bytes" ,
2023-08-26 10:36:00 +08:00
"default" : false
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-10-09 19:24:25 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-10-09 19:24:25 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-10-09 19:24:25 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-10-09 19:24:25 +08:00
} ,
{
2023-10-09 20:27:40 +08:00
"title" : "DiskIO" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-09 19:24:25 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print physical disk I/O throughput" ,
2023-10-09 19:24:25 +08:00
"const" : "diskio"
} ,
"namePrefix" : {
2023-10-31 15:47:55 +08:00
"description" : "Show disks with given name prefix only" ,
2023-10-09 19:24:25 +08:00
"type" : "string"
} ,
2024-02-20 11:11:21 +08:00
"detectTotal" : {
"description" : "Detect total bytes instead of current rate" ,
"type" : "boolean" ,
"default" : false
} ,
2023-10-09 19:24:25 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
2023-10-31 09:19:41 +08:00
{
"title" : "DE" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-31 09:19:41 +08:00
"properties" : {
"type" : {
"const" : "de" ,
"description" : "Print desktop environment name"
} ,
"slowVersionDetection" : {
"type" : "boolean" ,
"description" : "Set if DE version should be detected with slow operations.\nShould be unnecessary for most cases." ,
"default" : "false"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
2024-06-12 19:52:25 +08:00
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-06-12 19:52:25 +08:00
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-06-12 19:52:25 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
}
} ,
{
"title" : "DNS" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"const" : "dns" ,
"description" : "Print DNS servers"
} ,
"showType" : {
"enum" : [
"ipv4" ,
"ipv6" ,
"both"
] ,
"default" : "both" ,
"description" : "Specify the type of DNS servers should be detected"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
2023-10-31 09:19:41 +08:00
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-10-31 09:19:41 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-10-31 09:19:41 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
}
} ,
2024-01-20 18:40:12 +08:00
{
"title" : "Gamepad" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2024-01-20 18:40:12 +08:00
"properties" : {
"type" : {
"const" : "gamepad" ,
"description" : "List connected gamepads"
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2024-01-20 18:40:12 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-01-20 18:40:12 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2024-01-20 18:40:12 +08:00
} ,
2023-06-17 22:37:33 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "GPU" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print GPU names, graphic memory size, type, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "gpu"
2023-06-17 22:37:33 +08:00
} ,
"temp" : {
2024-02-26 16:39:41 +08:00
"$ref" : "#/$defs/temperature"
2023-06-17 22:37:33 +08:00
} ,
2023-12-20 14:59:27 +08:00
"driverSpecific" : {
"description" : "Use driver specific method to detect more detailed GPU information (memory usage, core count, etc)" ,
2023-10-30 13:46:51 +08:00
"type" : "boolean" ,
"default" : false
} ,
2024-05-20 16:45:23 +08:00
"detectionMethod" : {
"description" : "Force using a specified method to detect GPUs" ,
"type" : "string" ,
"enum" : [
"auto" ,
"pci" ,
"vulkan" ,
2024-06-20 14:05:38 +08:00
"opencl" ,
2024-05-20 16:45:23 +08:00
"opengl"
] ,
"default" : "auto"
2023-06-17 22:37:33 +08:00
} ,
"hideType" : {
2023-10-31 15:47:55 +08:00
"description" : "Specify the type of GPUs should not be printed" ,
2023-06-21 16:33:46 +08:00
"enum" : [
"integrated" ,
"discrete" ,
"none"
] ,
2023-06-17 22:37:33 +08:00
"default" : "none"
} ,
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Local IP" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "List local IP addresses (v4 or v6), MAC addresses, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "localip"
2023-06-17 22:37:33 +08:00
} ,
"showIpv4" : {
2023-10-31 15:47:55 +08:00
"description" : "Show IPv4 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : true
} ,
"showIpv6" : {
2023-10-31 15:47:55 +08:00
"description" : "Show IPv6 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
} ,
2024-09-15 10:42:22 +08:00
"showSpeed" : {
"description" : "Show ethernet rx speed" ,
"type" : "boolean" ,
"default" : false
} ,
"showMtu" : {
"description" : "Show MTU" ,
"type" : "boolean" ,
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"showMac" : {
2023-10-31 15:47:55 +08:00
"description" : "Show MAC addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
} ,
"showLoop" : {
2023-10-31 15:47:55 +08:00
"description" : "Show loop back addresses (127.0.0.1)" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
} ,
2024-04-04 10:42:44 +08:00
"showPrefixLen" : {
"description" : "Show network prefix length (/N)" ,
"type" : "boolean" ,
"default" : true
} ,
2024-05-13 22:59:39 +08:00
"showAllIps" : {
"description" : "Show all IPs bound to the same interface.\nBy default only the first IP is shown" ,
"type" : "boolean" ,
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"compact" : {
2023-10-31 15:47:55 +08:00
"description" : "Show all IPs in one line" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
} ,
"namePrefix" : {
2023-10-31 15:47:55 +08:00
"description" : "Show IPs with given name prefix only" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
} ,
2023-09-26 22:34:37 +08:00
"defaultRouteOnly" : {
2023-10-31 15:47:55 +08:00
"description" : "Show ips that are used for default routing only" ,
2023-09-26 22:34:37 +08:00
"type" : "boolean" ,
2023-10-31 19:45:12 +08:00
"default" : true
2023-09-26 22:34:37 +08:00
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-09-26 22:34:37 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-09-26 22:34:37 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-09-26 22:34:37 +08:00
} ,
2024-01-20 18:40:12 +08:00
{
"title" : "Memory" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2024-01-20 18:40:12 +08:00
"properties" : {
"type" : {
"const" : "memory" ,
"description" : "Print system memory usage info"
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2024-01-20 18:40:12 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-01-20 18:40:12 +08:00
"format" : {
"$ref" : "#/$defs/format"
2024-05-08 16:41:33 +08:00
}
}
} ,
{
"title" : "Loadavg" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"const" : "loadavg" ,
"description" : "Print system load averages"
} ,
2024-05-09 09:40:53 +08:00
"ndigits" : {
"type" : "integer" ,
"description" : "Set the number of digits to keep after the decimal point" ,
"minimum" : 0 ,
"maximum" : 9 ,
"default" : 2
} ,
2024-06-12 20:48:05 +08:00
"compact" : {
"type" : "boolean" ,
"description" : "Show values in one line" ,
"default" : true
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2024-05-08 16:41:33 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 16:41:33 +08:00
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-05-08 16:41:33 +08:00
"format" : {
"$ref" : "#/$defs/format"
2024-01-20 18:40:12 +08:00
}
2024-02-28 09:17:29 +08:00
}
2024-01-20 18:40:12 +08:00
} ,
2023-09-26 22:34:37 +08:00
{
2023-10-09 20:27:40 +08:00
"title" : "NetIO" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-09-26 22:34:37 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print network I/O throughput" ,
2023-09-27 00:05:37 +08:00
"const" : "netio"
2023-09-26 22:34:37 +08:00
} ,
"namePrefix" : {
2023-10-31 15:47:55 +08:00
"description" : "Show IPs with given name prefix only" ,
2023-09-26 22:34:37 +08:00
"type" : "string"
} ,
2023-09-03 19:01:52 +08:00
"defaultRouteOnly" : {
2023-10-31 15:47:55 +08:00
"description" : "Show ips that are used for default routing only" ,
2023-07-17 18:32:13 +08:00
"type" : "boolean" ,
2023-10-31 19:45:12 +08:00
"default" : true
2023-07-17 18:32:13 +08:00
} ,
2024-02-20 14:44:55 +08:00
"detectTotal" : {
"description" : "Detect total bytes instead of current rate" ,
"type" : "boolean" ,
"default" : false
} ,
2023-06-17 22:37:33 +08:00
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-17 22:37:33 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "OpenGL" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print highest OpenGL version supported by the GPU" ,
2023-06-20 14:41:01 +08:00
"const" : "opengl"
2023-06-17 22:37:33 +08:00
} ,
"library" : {
2024-07-10 11:13:28 +08:00
"description" : "Set the OpenGL context creation library to use" ,
2023-06-21 16:33:46 +08:00
"enum" : [
"auto" ,
"egl" ,
"glx" ,
"osmesa"
] ,
2023-06-17 22:37:33 +08:00
"default" : "auto"
} ,
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-18 14:38:39 +08:00
} ,
2023-10-29 19:37:31 +08:00
{
"title" : "Packages" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-29 19:37:31 +08:00
"properties" : {
"type" : {
"const" : "packages" ,
"description" : "List installed package managers and count of installed packages"
} ,
2024-02-21 15:56:52 +08:00
"disabled" : {
2024-04-16 10:12:11 +08:00
"description" : "List of package managers to be disabled when detecting" ,
"type" : "array" ,
"items" : {
"type" : "string" ,
"enum" : [
"am" ,
"apk" ,
"brew" ,
"choco" ,
"dpkg" ,
"emerge" ,
"eopkg" ,
"flatpak" ,
2024-07-10 11:13:28 +08:00
"guix" ,
"lpkg" ,
"lpkgbuild" ,
2024-04-16 10:12:11 +08:00
"macports" ,
"nix" ,
"opkg" ,
"pacman" ,
"paludis" ,
"pkg" ,
"pkgtool" ,
"rpm" ,
"scoop" ,
"snap" ,
2024-07-10 11:13:28 +08:00
"sorcery" ,
2024-04-16 10:12:11 +08:00
"winget" ,
"xbps"
] ,
"uniqueItems" : true
} ,
"default" : [ "winget" ]
2023-10-31 09:19:41 +08:00
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-10-31 09:19:41 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-10-31 09:19:41 +08:00
"format" : {
"$ref" : "#/$defs/format"
2023-10-29 19:37:31 +08:00
}
}
} ,
2023-12-18 15:53:15 +08:00
{
"title" : "Physical Disk" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-12-18 15:53:15 +08:00
"properties" : {
"type" : {
"description" : "Print physical disk information" ,
"const" : "physicaldisk"
} ,
"namePrefix" : {
"description" : "Show disks with given name prefix only" ,
"type" : "string"
} ,
2023-12-27 10:16:33 +08:00
"temp" : {
2024-02-26 16:39:41 +08:00
"$ref" : "#/$defs/temperature"
2023-12-27 10:16:33 +08:00
} ,
2023-12-18 15:53:15 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-12-18 15:53:15 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-12-18 15:53:15 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-12-18 15:53:15 +08:00
} ,
2023-06-18 14:38:39 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Public IP" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print your public IP address, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "publicip"
2023-06-18 14:38:39 +08:00
} ,
"url" : {
2023-10-31 15:47:55 +08:00
"description" : "The URL of public IP detection server to be used. Only HTTP protocol is supported" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
"format" : "url" ,
"default" : "http://ipinfo.io/ip"
} ,
"timeout" : {
2023-10-31 15:47:55 +08:00
"description" : "Time in milliseconds to wait for the public ip server to respond" ,
2023-06-18 14:38:39 +08:00
"type" : "integer" ,
"minimum" : 0 ,
"default" : "disabled (0)"
} ,
2024-05-09 10:13:04 +08:00
"ipv6" : {
"description" : "Whether to use IPv6 for public IP detection server" ,
"type" : "boolean" ,
"default" : false
} ,
2023-06-18 14:38:39 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-06-18 14:38:39 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Separator" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print a separator line" ,
2023-06-20 14:41:01 +08:00
"const" : "separator"
2023-06-18 14:38:39 +08:00
} ,
"string" : {
2024-07-17 09:16:25 +08:00
"description" : "Set the string to be printed by the separator line" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
2023-06-18 14:43:02 +08:00
"default" : "-"
2024-05-08 16:11:16 +08:00
} ,
"outputColor" : {
2024-07-17 09:16:25 +08:00
"description" : "Set the color of the separator line" ,
2024-05-08 16:11:16 +08:00
"$ref" : "#/$defs/outputColor"
2024-07-17 09:16:25 +08:00
} ,
"length" : {
"description" : "Set the length of the separator line, or 0 to auto-detect" ,
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
2023-06-18 14:38:39 +08:00
}
2024-02-28 09:17:29 +08:00
}
2023-06-18 14:38:39 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Sound" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print sound devices, volume, etc" ,
2023-06-20 14:41:01 +08:00
"const" : "sound"
2023-06-18 14:38:39 +08:00
} ,
"soundType" : {
2023-10-31 15:47:55 +08:00
"description" : "Set what type of sound devices should be printed" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
"enum" : [
"main" ,
"active" ,
"all"
] ,
"default" : "main"
} ,
2024-01-20 18:40:12 +08:00
"percent" : {
"$ref" : "#/$defs/percent"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2024-01-20 18:40:12 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-01-20 18:40:12 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2024-01-20 18:40:12 +08:00
} ,
{
"title" : "Swap" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2024-01-20 18:40:12 +08:00
"properties" : {
"type" : {
"const" : "swap" ,
"description" : "Print swap (paging file) space usage"
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
2023-06-18 14:38:39 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-06-18 14:38:39 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Title" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print title, which contains your user name, hostname" ,
2023-06-20 14:41:01 +08:00
"const" : "title"
2023-06-18 14:38:39 +08:00
} ,
"fqdn" : {
"type" : "boolean" ,
2023-10-31 15:47:55 +08:00
"description" : "Set if the title should use fully qualified domain name" ,
2023-06-18 14:38:39 +08:00
"default" : false
2023-07-05 15:47:47 +08:00
} ,
2023-07-20 11:21:12 +08:00
"color" : {
2023-10-31 15:47:55 +08:00
"description" : "Set colors of the different part of title" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-07-20 11:21:12 +08:00
"properties" : {
"user" : {
2023-10-31 15:47:55 +08:00
"description" : "Set color of the user name (left part)" ,
2023-07-20 11:21:12 +08:00
"$ref" : "#/$defs/colors"
} ,
"at" : {
2023-10-31 15:47:55 +08:00
"description" : "Set color of the @ symbol (middle part)" ,
2023-07-20 11:21:12 +08:00
"$ref" : "#/$defs/colors"
} ,
"host" : {
2023-10-31 15:47:55 +08:00
"description" : "Set color of the host name (right part)" ,
2023-07-20 11:21:12 +08:00
"$ref" : "#/$defs/colors"
}
2024-02-28 09:17:29 +08:00
}
2023-07-20 11:21:12 +08:00
} ,
2023-07-05 15:47:47 +08:00
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-07-05 15:47:47 +08:00
"format" : {
"$ref" : "#/$defs/format"
2023-06-18 14:38:39 +08:00
}
2024-06-12 14:02:35 +08:00
}
} ,
{
"title" : "Users" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"const" : "users" ,
"description" : "Print users currently logged in"
} ,
"compact" : {
"type" : "boolean" ,
"description" : "Show all active users in one line" ,
"default" : false
} ,
"myselfOnly" : {
"type" : "boolean" ,
"description" : "Show only the current user" ,
"default" : false
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-06-12 14:02:35 +08:00
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2024-06-12 14:02:35 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-06-18 14:38:39 +08:00
} ,
{
2023-06-21 16:33:46 +08:00
"title" : "Weather" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-10-09 20:27:40 +08:00
"description" : "Print weather information" ,
2023-06-20 14:41:01 +08:00
"const" : "weather"
2023-06-18 14:38:39 +08:00
} ,
2023-07-19 10:55:13 +08:00
"location" : {
2023-10-31 15:47:55 +08:00
"description" : "The location to display" ,
2023-07-19 10:55:13 +08:00
"type" : "string"
} ,
2023-06-18 14:38:39 +08:00
"timeout" : {
2023-10-31 15:47:55 +08:00
"description" : "Time in milliseconds to wait for the weather server to respond" ,
2023-06-18 14:38:39 +08:00
"type" : "integer" ,
"minimum" : 0 ,
"default" : "disabled (0)"
} ,
"outputFormat" : {
2023-10-31 15:47:55 +08:00
"description" : "The output weather format to be used (must be URI encoded)" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
"default" : "%t+-+%C+(%l)"
} ,
"key" : {
"$ref" : "#/$defs/key"
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
2024-02-28 09:17:29 +08:00
}
2023-10-31 09:19:41 +08:00
} ,
{
"title" : "WM" ,
2024-02-28 09:17:29 +08:00
"type" : "object" ,
"additionalProperties" : false ,
2023-10-31 09:19:41 +08:00
"properties" : {
"type" : {
"const" : "wm" ,
"description" : "Print window manager name and version"
} ,
"detectPlugin" : {
2023-10-31 15:47:55 +08:00
"description" : "Set if window manager plugin should be detected on supported platforms" ,
2023-10-31 09:19:41 +08:00
"type" : "boolean" ,
"default" : false
} ,
"key" : {
"$ref" : "#/$defs/key"
2024-09-15 10:42:22 +08:00
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
} ,
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
"format" : {
"$ref" : "#/$defs/format"
}
}
} ,
{
"title" : "Zpool" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"type" : {
"const" : "zpool" ,
"description" : "Print ZFS storage pools"
} ,
"percent" : {
"$ref" : "#/$defs/percent"
} ,
"key" : {
"$ref" : "#/$defs/key"
2023-10-31 09:19:41 +08:00
} ,
"keyColor" : {
"$ref" : "#/$defs/keyColor"
} ,
2024-07-24 14:05:46 +08:00
"keyIcon" : {
"$ref" : "#/$defs/keyIcon"
2024-05-08 15:01:57 +08:00
} ,
2023-10-31 09:19:41 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
} ,
2024-07-24 14:05:46 +08:00
"outputColor" : {
"$ref" : "#/$defs/outputColor"
} ,
2023-10-31 09:19:41 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
}
2023-06-17 22:37:33 +08:00
}
2023-07-21 16:41:53 +08:00
]
2023-06-14 16:18:24 +08:00
}
]
}
}
2024-02-28 09:17:29 +08:00
}
2023-06-14 16:18:24 +08:00
}