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