2023-06-14 16:18:24 +08:00
{
"$schema" : "http://json-schema.org/schema" ,
2023-06-18 02:07:34 +08:00
"$defs" : {
"colors" : {
"type" : "string" ,
2023-08-03 14:30:53 +08:00
"enum" : [
"reset_" , "bright_" , "dim_" ,
"black" , "red" , "green" , "yellow" , "blue" , "magenta" , "cyan" , "white" , "default" ,
"bright_black" , "bright_red" , "bright_green" , "bright_yellow" , "bright_blue" , "bright_magenta" , "bright_cyan" , "bright_white"
]
2023-06-18 12:32:47 +08:00
},
"key" : {
2023-06-21 16:33:46 +08:00
"title" : "Key of the module" ,
2023-06-18 12:32:47 +08:00
"type" : "string"
},
"keyColor" : {
2023-06-21 16:33:46 +08:00
"title" : "Color of the module key. Left empty to use `display.color.keys`" ,
"$ref" : "#/$defs/colors"
2023-06-18 12:32:47 +08:00
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"title" : "Width of the module key. Use 0 to use `display.keyWidth`" ,
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
},
2023-06-18 12:32:47 +08:00
"format" : {
2023-06-21 16:33:46 +08:00
"title" : "Output format of the module" ,
2023-06-18 12:32:47 +08:00
"type" : "string"
2023-06-18 02:07:34 +08:00
}
},
2023-06-14 16:18:24 +08:00
"type" : "object" ,
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-07-21 09:46:38 +08:00
"title" : "JSON schema URL, for JSON validation and IDE intelligence" ,
"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" : {
2023-06-25 21:22:44 +08:00
"oneOf" : [
{
"title" : "Disable logo" ,
"type" : "null"
2023-06-14 16:18:24 +08:00
},
2023-06-25 21:22:44 +08:00
{
"title" : "Set the source file of the logo" ,
"type" : "string"
2023-06-14 16:18:24 +08:00
},
2023-06-25 21:22:44 +08:00
{
"title" : "Fastfetch logo configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
2023-06-25 21:22:44 +08:00
"type" : {
"title" : "Set the type of the logo given" ,
"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" ,
"title" : "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" ,
"title" : "Overwrite a color in the logo" ,
"properties" : {
"1" : {
"title" : "Color 1" ,
"$ref" : "#/$defs/colors"
},
"2" : {
"title" : "Color 2" ,
"$ref" : "#/$defs/colors"
},
"3" : {
"title" : "Color 3" ,
"$ref" : "#/$defs/colors"
},
"4" : {
"title" : "Color 4" ,
"$ref" : "#/$defs/colors"
},
"5" : {
"title" : "Color 5" ,
"$ref" : "#/$defs/colors"
},
"6" : {
"title" : "Color 6" ,
"$ref" : "#/$defs/colors"
},
"7" : {
"title" : "Color 7" ,
"$ref" : "#/$defs/colors"
},
"8" : {
"title" : "Color 8" ,
"$ref" : "#/$defs/colors"
},
"9" : {
"title" : "Color 9" ,
"$ref" : "#/$defs/colors"
}
2023-07-21 09:46:38 +08:00
},
"additionalProperties" : false
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-06-25 21:22:44 +08:00
"title" : "Set the width of the logo (in characters). Required for iTerm image protocol" ,
"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-06-25 21:22:44 +08:00
"title" : "Set the height of the logo (in characters). Required for iTerm image protocol" ,
"minimum" : 1
2023-06-14 16:18:24 +08:00
},
2023-06-25 21:22:44 +08:00
"padding" : {
"type" : "object" ,
"title" : "Set the padding of the logo" ,
"properties" : {
"top" : {
"type" : "integer" ,
"title" : "Set the top padding of the logo" ,
"minimum" : 0
},
"left" : {
"type" : "integer" ,
"title" : "Set the left padding of the logo" ,
"minimum" : 0
},
"right" : {
"type" : "integer" ,
"title" : "Set the right padding of the logo" ,
"minimum" : 0
}
2023-07-21 09:46:38 +08:00
},
"additionalProperties" : false
2023-06-25 21:22:44 +08:00
},
"printRemaining" : {
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-25 21:22:44 +08:00
"title" : "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-06-25 21:22:44 +08:00
"preserveAspectRadio" : {
"type" : "boolean" ,
"title" : "Whether to preserve the aspect ratio of the logo. Supported by iTerm image protocol" ,
"default" : false
2023-06-14 16:18:24 +08:00
},
2023-08-17 16:00:24 +08:00
"recache" : {
"type" : "boolean" ,
"title" : "If true, regenerate image logo cache" ,
"default" : false
},
2023-06-25 21:22:44 +08:00
"chafa" : {
"type" : "object" ,
"title" : "Chafa configuration. See chafa document for details" ,
"properties" : {
"fgOnly" : {
"type" : "boolean" ,
"title" : "Produce character-cell output using foreground colors only" ,
"default" : false
},
"symbols" : {
"type" : "string" ,
"title" : "Specify character symbols to employ in final output"
},
"canvasMode" : {
"type" : "string" ,
"title" : "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" ,
"title" : "Set color space used for quantization. This value maps the value of enum ChafaColorSpace." ,
"enum" : [
"RGB" ,
"DIN99D"
]
},
"ditherMode" : {
"type" : "string" ,
"title" : "Set output dither mode (No effect with 24-bit color). This value maps the value of enum ChafaDitherMode." ,
"enum" : [
"NONE" ,
"ORDERED" ,
"DIFFUSION"
]
}
2023-07-21 09:46:38 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
}
2023-06-25 21:22:44 +08:00
},
"additionalProperties" : false
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-06-21 16:33:46 +08:00
"title" : "Fastfetch general configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"allowSlowOperations" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Allow operations that can be very slow for more detailed output" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"multithreading" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "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" ,
"title" : "Alias of multithreading" ,
"default" : true
},
2023-06-14 16:18:24 +08:00
"stat" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Show time usage (in ms) for individual modules" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"escapeBedrock" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "On Bedrock Linux, whether to escape the bedrock jail" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"pipe" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Whether to enable pipe mode (disable logo and all escape sequences)" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"playerName" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "The name of the player to use for module Media and Player. Linux only"
2023-06-14 16:18:24 +08:00
},
"osFile" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Set the path to the file containing OS information. Linux only"
2023-06-25 14:33:13 +08:00
},
2023-07-31 23:11:39 +08:00
"dsForceDrm" : {
"type" : "boolean" ,
"title" : "Force display detection to use `/sys/class/drm`. Linux only" ,
"default" : false
},
2023-06-25 14:33:13 +08:00
"wmiTimeout" : {
"type" : "integer" ,
2023-07-31 23:11:39 +08:00
"title" : "Set the timeout (ms) for WMI queries, `-1` for no timeout. Windows only" ,
"default" : 5000
2023-06-14 16:18:24 +08:00
}
2023-06-21 16:33:46 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
},
"display" : {
2023-06-21 16:33:46 +08:00
"title" : "Configure how things to be displayed" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"showErrors" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "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-06-21 16:33:46 +08:00
"title" : "Whether to disable line wrap during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"hideCursor" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Whether to hide the cursor during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"separator" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Set the separator between key and value" ,
2023-06-14 16:18:24 +08:00
"default" : ": "
},
"color" : {
2023-06-21 16:33:46 +08:00
"title" : "Set the color of the keys and title" ,
"oneOf" : [
2023-06-14 16:18:24 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "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" ,
"properties" : {
"keys" : {
2023-06-21 16:33:46 +08:00
"title" : "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-06-21 16:33:46 +08:00
"title" : "Set the color of the title" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
}
2023-07-21 09:46:38 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
}
]
},
2023-08-04 16:05:25 +08:00
"brightColor" : {
"title" : "Set if the keys, title and ASCII logo should be printed in bright color" ,
"type" : "boolean" ,
"default" : true
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"title" : "Align the width of keys to number of characters, 0 to disable" ,
"type" : "integer" ,
"minimum" : 0 ,
"default" : 0
},
2023-06-14 16:18:24 +08:00
"binaryPrefix" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Set the binary prefix to used when printing bytes" ,
2023-06-14 16:18:24 +08:00
"enum" : [
"iec" ,
"si" ,
"jedec"
]
},
2023-07-10 15:25:45 +08:00
"sizeNdigits" : {
"type" : "integer" ,
"title" : "Set the number of digits to keep after the decimal point when formatting sizes" ,
2023-08-24 09:35:17 +08:00
"minimum" : 0 ,
"maximum" : 9 ,
2023-07-10 15:25:45 +08:00
"default" : 2
},
"sizeMaxPrefix" : {
2023-07-10 17:30:08 +08:00
"type" : "string" ,
"title" : "Set the largest binary prefix to use when formatting sizes" ,
"enum" : [ "B" , "kB" , "MB" , "GB" , "TB" , "PB" , "EB" , "ZB" , "YB" ],
"default" : "YB"
2023-07-10 15:25:45 +08:00
},
2023-07-27 15:58:49 +08:00
"temperatureUnit" : {
"type" : "string" ,
"title" : "Set the unit of the temperature" ,
"enum" : [ "CELSIUS" , "C" , "FAHRENHEIT" , "F" , "KELVIN" , "K" ],
"default" : "C"
},
2023-08-16 14:41:56 +08:00
"bar" : {
"type" : "object" ,
"title" : "Set the bar configuration" ,
"properties" : {
"charElapsed" : {
"type" : "string" ,
"title" : "Set the character to use in elapsed part" ,
"default" : "■"
},
"charTotal" : {
"type" : "string" ,
"title" : "Set the character to use in total part" ,
"default" : "-"
},
"border" : {
"type" : "boolean" ,
"title" : "Whether to show a border around the bar" ,
"default" : true
2023-08-16 16:46:21 +08:00
},
"width" : {
"type" : "integer" ,
2023-08-17 10:56:54 +08:00
"title" : "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-06-14 16:18:24 +08:00
"percentType" : {
"type" : "number" ,
2023-06-21 16:33:46 +08:00
"title" : "Set the percentage output type. 1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number" ,
2023-06-14 16:18:24 +08:00
"minimum" : 0 ,
2023-08-24 09:35:17 +08:00
"maximum" : 255 ,
2023-06-14 16:18:24 +08:00
"default" : 1
},
2023-08-24 09:35:17 +08:00
"percentNdigits" : {
"type" : "number" ,
"title" : "Set the number of digits to keep after the decimal point when formatting percentage numbers" ,
"minimum" : 0 ,
"maximum" : 9 ,
"default" : 0
},
2023-06-14 16:18:24 +08:00
"noBuffer" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Whether to disable the stdout application buffer" ,
2023-06-14 16:18:24 +08:00
"default" : false
}
2023-06-21 16:33:46 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
},
"library" : {
2023-06-21 16:33:46 +08:00
"title" : "Set the path of a library to load" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"pci" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "GPU output (Linux and FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"vulkan" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Vulkan module & fallback for GPU output"
2023-06-14 16:18:24 +08:00
},
"freetype" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Used for Termux font detection (Android)"
2023-06-14 16:18:24 +08:00
},
"wayland" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Better display performance and output in wayland sessions.\nSupports different refresh rates per monitor.\n(Linux)"
2023-06-14 16:18:24 +08:00
},
"xcbRandr" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : ""
2023-06-14 16:18:24 +08:00
},
"xcb" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
2023-06-20 14:41:01 +08:00
"xrandr" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
2023-06-20 14:41:01 +08:00
"x11" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "X11 sessions for better display detection and faster WM detection.\nThe *randr ones provide multi monitor support The libxcb* ones usually have better performance.\n (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"gio" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed for values that are only stored GSettings (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
2023-06-20 14:41:01 +08:00
"dconf" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed for values that are only stored in DConf + Fallback for GSettings (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"dbus" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Bluetooth, Player & Media detection (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
2023-06-20 14:41:01 +08:00
"xfconf" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed for XFWM theme and XFCE Terminal font (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"sqlite3" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed for pkg & rpm package count (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"rpm" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Slower fallback for rpm package count. Needed on openSUSE & old CentOS / Redhat. (Linux)"
2023-06-14 16:18:24 +08:00
},
"imagemagick" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Images in terminal using sixel or kitty graphics protocol (Linux, FreeBSD, macOS)"
2023-06-14 16:18:24 +08:00
},
"z" : {
2023-06-21 16:33:46 +08:00
"title" : "Libz. Faster image output when using kitty graphics protocol (Linux, FreeBSD, macOS)" ,
2023-06-14 16:18:24 +08:00
"type" : "string"
},
"chafa" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Image output as ascii art (Linux, FreeBSD, macOS)"
2023-06-14 16:18:24 +08:00
},
"egl" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed by the OpenGL module for gl context creation (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"glx" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed by the OpenGL module for gl context creation (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"osmesa" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "Needed by the OpenGL module for gl context creation (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"opencl" : {
2023-06-20 14:41:01 +08:00
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "OpenCL module (Linux, FreeBSD, Windows)"
2023-06-14 16:18:24 +08:00
},
"pulse" : {
2023-06-21 16:33:46 +08:00
"title" : "Pulseaudio. Used for Sound detection (Linux, FreeBSD)" ,
2023-06-14 16:18:24 +08:00
"type" : "string"
},
"nm" : {
2023-06-21 16:33:46 +08:00
"title" : "NetworkManager. Used for Wifi detection (Linux)" ,
2023-06-14 16:18:24 +08:00
"type" : "string"
2023-07-09 17:22:04 +08:00
},
"ddcutil" : {
"title" : "Used for brightness detection of external displays (Linux)" ,
"type" : "string"
2023-06-14 16:18:24 +08:00
}
2023-06-21 16:33:46 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
},
"modules" : {
2023-06-21 16:33:46 +08:00
"title" : "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-06-21 16:33:46 +08:00
"title" : "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" ,
"board" ,
"break" ,
"brightness" ,
"chassis" ,
"cpu" ,
"cpuusage" ,
"command" ,
"colors" ,
"cursor" ,
"datetime" ,
"display" ,
"disk" ,
"de" ,
"font" ,
"gamepad" ,
"gpu" ,
"host" ,
"icons" ,
"kernel" ,
2023-06-20 23:01:18 +08:00
"lm" ,
2023-06-20 14:41:01 +08:00
"locale" ,
"localip" ,
"media" ,
"memory" ,
2023-08-09 16:31:24 +08:00
"monitor" ,
2023-06-20 14:41:01 +08:00
"opencl" ,
"opengl" ,
"os" ,
"packages" ,
"player" ,
"poweradapter" ,
"processes" ,
"publicip" ,
"separator" ,
"shell" ,
"sound" ,
"swap" ,
"terminal" ,
"terminalfont" ,
2023-07-26 10:27:40 +08:00
"terminalsize" ,
2023-06-20 14:41:01 +08:00
"title" ,
"theme" ,
"uptime" ,
"users" ,
2023-08-21 09:19:16 +08:00
"version" ,
2023-06-20 14:41:01 +08:00
"vulkan" ,
"wallpaper" ,
"weather" ,
"wm" ,
"wifi" ,
"wmtheme"
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-06-21 16:33:46 +08:00
"title" : "Run module with custom configurations" ,
"required" : [
"type"
],
"properties" : {
"type" : {
"title" : "Module type" ,
"type" : "string"
}
},
"oneOf" : [
2023-06-17 22:37:33 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Break" ,
"description" : "Print a empty line" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-21 16:33:46 +08:00
"const" : "break"
2023-06-17 22:37:33 +08:00
}
2023-06-18 02:07:34 +08:00
},
"additionalProperties" : false
2023-06-17 22:37:33 +08:00
},
{
2023-07-21 09:46:38 +08:00
"title" : "No additional properties" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
"enum" : [
2023-06-20 14:41:01 +08:00
"bios" ,
"board" ,
"brightness" ,
"chassis" ,
"cpuusage" ,
"cursor" ,
"datetime" ,
"de" ,
"font" ,
"gamepad" ,
"host" ,
"icons" ,
"kernel" ,
2023-06-20 23:01:18 +08:00
"lm" ,
2023-06-20 14:41:01 +08:00
"locale" ,
"media" ,
"memory" ,
2023-08-09 16:31:24 +08:00
"monitor" ,
2023-06-20 14:41:01 +08:00
"opencl" ,
"os" ,
"packages" ,
"player" ,
"poweradapter" ,
"processes" ,
"shell" ,
"swap" ,
"terminal" ,
"terminalfont" ,
2023-07-26 10:27:40 +08:00
"terminalsize" ,
2023-06-20 14:41:01 +08:00
"theme" ,
"uptime" ,
"users" ,
2023-08-21 09:19:16 +08:00
"version" ,
2023-06-20 14:41:01 +08:00
"vulkan" ,
"wallpaper" ,
"wm" ,
"wifi" ,
"wmtheme"
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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Battery" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "battery"
2023-06-17 22:37:33 +08:00
},
"dir" : {
2023-06-21 16:33:46 +08:00
"title" : "The directory where the battery folders are. Standard: `/sys/class/power_supply/`. Linux only" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
},
"temp" : {
2023-06-21 16:33:46 +08:00
"title" : "Detect and display Battery temperature if supported" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Bluetooth" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "bluetooth"
2023-06-17 22:37:33 +08:00
},
"showDisconnected" : {
2023-06-21 16:33:46 +08:00
"title" : "Set if disconnected bluetooth devices should be printed" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "CPU" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "cpu"
2023-06-17 22:37:33 +08:00
},
"temp" : {
2023-06-21 16:33:46 +08:00
"title" : "Detect and display CPU temperature if supported" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
2023-06-18 14:00:24 +08:00
{
2023-06-21 16:33:46 +08:00
"title" : "Colors" ,
2023-06-18 14:00:24 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "colors"
2023-06-18 14:00:24 +08:00
},
"symbol" : {
2023-06-21 16:33:46 +08:00
"title" : "Set the symbol to use" ,
2023-06-18 14:00:24 +08:00
"type" : "string" ,
"enum" : [
"block" ,
"circle" ,
"diamond" ,
"triangle" ,
"square" ,
"star"
],
2023-06-20 14:41:01 +08:00
"default" : "block"
2023-06-20 15:13:43 +08:00
},
"paddingLeft" : {
2023-06-21 16:33:46 +08:00
"title" : "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
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" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "command"
2023-06-17 22:37:33 +08:00
},
"shell" : {
2023-08-01 10:23:36 +08:00
"title" : "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
},
"text" : {
2023-06-21 16:33:46 +08:00
"title" : "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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Custom" ,
2023-06-20 14:41:01 +08:00
"description" : "Print a custom string, with or without key" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "custom"
2023-06-17 22:37:33 +08:00
},
"key" : {
2023-06-21 16:33:46 +08:00
"title" : "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"
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-21 16:33:46 +08:00
"title" : "Text to print" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
}
},
2023-06-21 16:33:46 +08:00
"required" : [
"format"
],
2023-06-17 22:37:33 +08:00
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Display" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
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" ,
"scaled"
],
"title" : "Set if all displays should be printed in one line" ,
2023-06-17 22:37:33 +08:00
"default" : "none"
},
"preciseRefreshRate" : {
2023-06-21 16:33:46 +08:00
"title" : "Set if decimal refresh rates should not be rounded into integers when printing" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : true
},
"key" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
2023-06-17 22:37:33 +08:00
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Disk" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "disk"
2023-06-17 22:37:33 +08:00
},
"folders" : {
"type" : "string" ,
2023-06-21 16:33:46 +08:00
"title" : "A colon (semicolon on Windows) separated list of folder paths for the disk output\nDefault: \"/:/home\" (\"C:\\\\;D:\\\\ ...\" on Windows)"
2023-06-17 22:37:33 +08:00
},
"showExternal" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Set if external volume should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : true
},
"showHidden" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Set if hidden volumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
},
"showSubvolumes" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "Set if subvolumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
},
"showUnknown" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "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" ,
"title" : "Use f_bavail (lpFreeBytesAvailableToCaller for Windows) instead of f_bfree to calculate used bytes" ,
"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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
2023-06-18 02:07:34 +08:00
},
"additionalProperties" : false
2023-06-17 22:37:33 +08:00
},
{
2023-06-21 16:33:46 +08:00
"title" : "GPU" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "gpu"
2023-06-17 22:37:33 +08:00
},
"temp" : {
2023-06-21 16:33:46 +08:00
"title" : "Detect and display GPU temperature if supported" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"forceVulkan" : {
2023-06-21 16:33:46 +08:00
"title" : "Force using vulkan to detect GPUs, which support video memory usage detection with `--allow-slow-operations`" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"hideType" : {
2023-06-21 16:33:46 +08:00
"title" : "Specify the type of GPUs should not be printed" ,
"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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Local IP" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "localip"
2023-06-17 22:37:33 +08:00
},
"showIpv4" : {
2023-06-21 16:33:46 +08:00
"title" : "Show IPv4 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : true
},
"showIpv6" : {
2023-06-21 16:33:46 +08:00
"title" : "Show IPv6 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"showMac" : {
2023-06-21 16:33:46 +08:00
"title" : "Show MAC addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"showLoop" : {
2023-06-21 16:33:46 +08:00
"title" : "Show loop back addresses (127.0.0.1)" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"compact" : {
2023-06-21 16:33:46 +08:00
"title" : "Show all IPs in one line" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"namePrefix" : {
2023-06-21 16:33:46 +08:00
"title" : "Show IPs with given name prefix only" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
},
2023-07-17 18:32:13 +08:00
"showDefaultRouteOnly" : {
"title" : "Show ips that are used for default routing only" ,
"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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "OpenGL" ,
2023-06-17 22:37:33 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "opengl"
2023-06-17 22:37:33 +08:00
},
"library" : {
2023-06-21 16:33:46 +08:00
"title" : "Set the OpenGL context creation library to use. Linux only" ,
"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
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
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
}
2023-06-18 02:07:34 +08:00
},
"additionalProperties" : false
2023-06-18 14:38:39 +08:00
},
{
2023-06-21 16:33:46 +08:00
"title" : "Public IP" ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "publicip"
2023-06-18 14:38:39 +08:00
},
"url" : {
2023-06-21 16:33:46 +08:00
"title" : "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-06-21 16:33:46 +08:00
"title" : "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)"
},
"key" : {
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Separator" ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "separator"
2023-06-18 14:38:39 +08:00
},
"string" : {
2023-06-21 16:33:46 +08:00
"title" : "Set the string to be printed" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
2023-06-18 14:43:02 +08:00
"default" : "-"
2023-06-18 14:38:39 +08:00
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Sound" ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "sound"
2023-06-18 14:38:39 +08:00
},
"soundType" : {
2023-06-21 16:33:46 +08:00
"title" : "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"
},
"key" : {
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Title" ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "title"
2023-06-18 14:38:39 +08:00
},
"fqdn" : {
"type" : "boolean" ,
2023-06-21 16:33:46 +08:00
"title" : "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" : {
"title" : "Set colors of the different part of title" ,
"properties" : {
"user" : {
"title" : "Set color of the user name (left part)" ,
"$ref" : "#/$defs/colors"
},
"at" : {
"title" : "Set color of the @ symbol (middle part)" ,
"$ref" : "#/$defs/colors"
},
"host" : {
"title" : "Set color of the host name (right part)" ,
"$ref" : "#/$defs/colors"
}
2023-07-21 16:41:53 +08:00
},
"additionalProperties" : false
2023-07-20 11:21:12 +08:00
},
2023-07-05 15:47:47 +08:00
"key" : {
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
2023-07-05 15:47:47 +08:00
"format" : {
"$ref" : "#/$defs/format"
2023-06-18 14:38:39 +08:00
}
},
"additionalProperties" : false
},
{
2023-06-21 16:33:46 +08:00
"title" : "Weather" ,
2023-06-18 14:38:39 +08:00
"properties" : {
"type" : {
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" : {
"title" : "The location to display" ,
"type" : "string"
},
2023-06-18 14:38:39 +08:00
"timeout" : {
2023-06-21 16:33:46 +08:00
"title" : "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-06-21 16:33:46 +08:00
"title" : "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"
},
2023-08-15 21:40:22 +08:00
"keyWidth" : {
"$ref" : "#/$defs/keyWidth"
},
2023-06-18 14:38:39 +08:00
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
2023-06-17 22:37:33 +08:00
}
2023-07-21 16:41:53 +08:00
]
2023-06-14 16:18:24 +08:00
}
]
}
}
2023-06-21 16:33:46 +08:00
},
"additionalProperties" : false
2023-06-14 16:18:24 +08:00
}