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" ,
"enum" : [ "reset_" , "bright_" , "black" , "red" , "green" , "yellow" , "blue" , "magenta" , "cyan" , "white" ]
2023-06-18 12:32:47 +08:00
},
"key" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.*.key" ,
"description" : "Key of the module" ,
2023-06-18 12:32:47 +08:00
"type" : "string"
},
"keyColor" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.*.keyColor" ,
"description" : "Color of the module key" ,
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/colors" ,
"default" : "Use display.color.keys"
},
"format" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.*.format" ,
"description" : "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-06-20 14:41:01 +08:00
"title" : "Fastfetch config" ,
"description" : "JSON config file for fastfetch. Usually be `~/.config/fastfetch.jsonc`" ,
2023-06-14 16:18:24 +08:00
"properties" : {
"logo" : {
2023-06-20 14:41:01 +08:00
"title" : "logo" ,
"description" : "Fastfetch logo configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.type" ,
"description" : "Set the type of the logo given" ,
2023-06-14 16:18:24 +08:00
"enum" : [
"auto" ,
"builtin" ,
"file" ,
"file-raw" ,
"data" ,
"data-raw" ,
"sixel" ,
"kitty" ,
"iterm" ,
"chafa" ,
"raw" ,
"none"
],
"default" : "auto"
},
"source" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.source" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the source file of the logo"
2023-06-14 16:18:24 +08:00
},
"color" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2023-06-20 14:41:01 +08:00
"description" : "Overwrite a color in the logo" ,
2023-06-14 16:18:24 +08:00
"properties" : {
"1" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.1" ,
"description" : "Color 1" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"2" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.2" ,
"description" : "Color 2" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"3" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.3" ,
"description" : "Color 3" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"4" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.4" ,
"description" : "Color 4" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"5" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.5" ,
"description" : "Color 5" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"6" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.6" ,
"description" : "Color 6" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"7" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.7" ,
"description" : "Color 7" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"8" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.8" ,
"description" : "Color 8" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
},
"9" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.color.9" ,
"description" : "Color 9" ,
2023-06-18 02:07:34 +08:00
"$ref" : "#/$defs/colors"
2023-06-14 16:18:24 +08:00
}
}
},
"width" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.width" ,
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the width of the logo (in characters). Required for iTerm image protocol" ,
2023-06-14 16:18:24 +08:00
"minimum" : 1
},
"height" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.height" ,
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the height of the logo (in characters). Required for iTerm image protocol" ,
2023-06-14 16:18:24 +08:00
"minimum" : 1
},
"padding" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.padding" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the padding of the logo" ,
2023-06-14 16:18:24 +08:00
"properties" : {
"top" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.padding.top" ,
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the top padding of the logo" ,
2023-06-14 16:18:24 +08:00
"minimum" : 0
},
"left" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.padding.left" ,
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the left padding of the logo" ,
2023-06-14 16:18:24 +08:00
"minimum" : 0
},
"right" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.padding.right" ,
2023-06-14 16:18:24 +08:00
"type" : "integer" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the right padding of the logo" ,
2023-06-14 16:18:24 +08:00
"minimum" : 0
}
}
},
"printRemaining" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.printRemaining" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +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
},
"preserveAspectRadio" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.preserveAspectRadio" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Whether to preserve the aspect ratio of the logo. Supported by iTerm image protocol" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"chafa" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
2023-06-20 14:41:01 +08:00
"description" : "Chafa configuration. See chafa document for details" ,
2023-06-14 16:18:24 +08:00
"properties" : {
"fgOnly" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa.fgOnly" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Produce character-cell output using foreground colors only" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"symbols" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa.symbols" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Specify character symbols to employ in final output"
2023-06-14 16:18:24 +08:00
},
"canvasMode" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa.canvasMode" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Determine how colors are used in the output. This value maps the value of enum ChafaCanvasMode." ,
2023-06-14 16:18:24 +08:00
"enum" : [
"TRUECOLOR" ,
"INDEXED_256" ,
"INDEXED_240" ,
"INDEXED_16" ,
"FGBG_BGFG" ,
"FGBG" ,
"INDEXED_8" ,
"INDEXED_16_8"
]
},
"colorSpace" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa.colorSpace" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Set color space used for quantization. This value maps the value of enum ChafaColorSpace." ,
2023-06-14 16:18:24 +08:00
"enum" : [
"RGB" ,
"DIN99D"
]
},
"ditherMode" : {
2023-06-20 14:41:01 +08:00
"title" : "logo.chafa.ditherMode" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Set output dither mode (No effect with 24-bit color). This value maps the value of enum ChafaDitherMode." ,
2023-06-14 16:18:24 +08:00
"enum" : [
"NONE" ,
"ORDERED" ,
"DIFFUSION"
]
}
}
}
}
},
"general" : {
2023-06-20 14:41:01 +08:00
"title" : "general" ,
"description" : "Fastfetch general configurations" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"allowSlowOperations" : {
2023-06-20 14:41:01 +08:00
"title" : "general.allowSlowOperations" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Allow operations that can be very slow for more detailed output" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"multithreading" : {
2023-06-20 14:41:01 +08:00
"title" : "general.multithreading" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Use multiple threads to detect values" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"stat" : {
2023-06-20 14:41:01 +08:00
"title" : "general.stat" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Show time usage (in ms) for individual modules" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"escapeBedrock" : {
2023-06-20 14:41:01 +08:00
"title" : "general.escapeBedrock" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "On Bedrock Linux, whether to escape the bedrock jail" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"pipe" : {
2023-06-20 14:41:01 +08:00
"title" : "general.pipe" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Whether to enable pipe mode (disable logo and all escape sequences)" ,
2023-06-14 16:18:24 +08:00
"default" : false
},
"playerName" : {
2023-06-20 14:41:01 +08:00
"title" : "general.playerName" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +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
},
"osFile" : {
2023-06-20 14:41:01 +08:00
"title" : "general.osFile" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the path to the file containing OS information. Linux only"
2023-06-14 16:18:24 +08:00
}
}
},
"display" : {
2023-06-20 14:41:01 +08:00
"title" : "display" ,
"description" : "Configure how things to be displayed" ,
2023-06-14 16:18:24 +08:00
"type" : "object" ,
"properties" : {
"showErrors" : {
2023-06-20 14:41:01 +08:00
"title" : "display.showErrors" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +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" : {
2023-06-20 14:41:01 +08:00
"title" : "display.disableLinewrap" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Whether to disable line wrap during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"hideCursor" : {
2023-06-20 14:41:01 +08:00
"title" : "display.hideCursor" ,
2023-06-14 16:18:24 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Whether to hide the cursor during the run" ,
2023-06-14 16:18:24 +08:00
"default" : true
},
"separator" : {
2023-06-20 14:41:01 +08:00
"title" : "display.separator" ,
2023-06-14 16:18:24 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "Set the separator between key and value" ,
2023-06-14 16:18:24 +08:00
"default" : ": "
},
"color" : {
2023-06-20 14:41:01 +08:00
"title" : "display.color" ,
"description" : "Set the color of the keys and title" ,
2023-06-14 16:18:24 +08:00
"anyOf" : [
{
2023-06-20 14:41:01 +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" ,
"properties" : {
"keys" : {
2023-06-20 14:41:01 +08:00
"title" : "display.color.keys" ,
"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-06-20 14:41:01 +08:00
"title" : "display.color.title" ,
"description" : "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
}
}
}
]
},
"binaryPrefix" : {
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"title" : "display.binaryPrefix" ,
"description" : "Set the binary prefix to used when printing bytes" ,
2023-06-14 16:18:24 +08:00
"enum" : [
"iec" ,
"si" ,
"jedec"
]
},
"percentType" : {
"type" : "number" ,
2023-06-20 14:41:01 +08:00
"title" : "display.percentType" ,
"description" : "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 ,
"maximum" : 9 ,
"default" : 1
},
"noBuffer" : {
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"title" : "display.noBuffer" ,
"description" : "Whether to disable the stdout application buffer" ,
2023-06-14 16:18:24 +08:00
"default" : false
}
}
},
"library" : {
2023-06-20 14:41:01 +08:00
"title" : "library" ,
"description" : "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
"title" : "library.pci" ,
"type" : "string" ,
"description" : "GPU output (Linux and FreeBSD)"
2023-06-14 16:18:24 +08:00
},
"vulkan" : {
2023-06-20 14:41:01 +08:00
"title" : "library.vulkan" ,
"type" : "string" ,
"description" : "Vulkan module & fallback for GPU output"
2023-06-14 16:18:24 +08:00
},
"freetype" : {
2023-06-20 14:41:01 +08:00
"title" : "library.freetype" ,
"type" : "string" ,
"description" : "Used for Termux font detection (Android)"
2023-06-14 16:18:24 +08:00
},
"wayland" : {
2023-06-20 14:41:01 +08:00
"title" : "library.wayland" ,
"type" : "string" ,
"description" : "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
"title" : "library.xcbRandr" ,
"type" : "string" ,
"description" : ""
2023-06-14 16:18:24 +08:00
},
"xcb" : {
2023-06-20 14:41:01 +08:00
"title" : "library.xcb" ,
"type" : "string" ,
"description" : "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" : {
"title" : "library.xrandr" ,
"type" : "string" ,
"description" : "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" : {
"title" : "library.x11" ,
"type" : "string" ,
"description" : "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
"title" : "library.gio" ,
"type" : "string" ,
"description" : "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" : {
"title" : "library.dconf" ,
"type" : "string" ,
"description" : "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
"title" : "library.dbus" ,
"type" : "string" ,
"description" : "Bluetooth, Player & Media detection (Linux, FreeBSD)"
2023-06-14 16:18:24 +08:00
},
2023-06-20 14:41:01 +08:00
"xfconf" : {
"title" : "library.xfconf" ,
"type" : "string" ,
"description" : "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
"title" : "library.sqlite3" ,
"type" : "string" ,
"description" : "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
"title" : "library.rpm" ,
"type" : "string" ,
"description" : "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
"title" : "library.imagemagick" ,
"type" : "string" ,
"description" : "Images in terminal using sixel or kitty graphics protocol (Linux, FreeBSD, macOS)"
2023-06-14 16:18:24 +08:00
},
"z" : {
2023-06-20 14:41:01 +08:00
"title" : "library.z" ,
"description" : "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
"title" : "library.chafa" ,
"type" : "string" ,
"description" : "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
"title" : "library.egl" ,
"type" : "string" ,
"description" : "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
"title" : "library.glx" ,
"type" : "string" ,
"description" : "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
"title" : "library.osmesa" ,
"type" : "string" ,
"description" : "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
"title" : "library.opencl" ,
"type" : "string" ,
"description" : "OpenCL module (Linux, FreeBSD, Windows)"
2023-06-14 16:18:24 +08:00
},
"pulse" : {
2023-06-20 14:41:01 +08:00
"title" : "library.pulse" ,
"description" : "Pulseaudio. Used for Sound detection (Linux, FreeBSD)" ,
2023-06-14 16:18:24 +08:00
"type" : "string"
},
"nm" : {
2023-06-20 14:41:01 +08:00
"title" : "library.nm" ,
"description" : "NetworkManager. Used for Wifi detection (Linux)" ,
2023-06-14 16:18:24 +08:00
"type" : "string"
}
}
},
"modules" : {
2023-06-20 14:41:01 +08:00
"title" : "modules" ,
"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-06-20 14:41:01 +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" ,
"board" ,
"break" ,
"brightness" ,
"chassis" ,
"cpu" ,
"cpuusage" ,
"command" ,
"colors" ,
"cursor" ,
"custom" ,
"datetime" ,
"display" ,
"disk" ,
"de" ,
"font" ,
"gamepad" ,
"gpu" ,
"host" ,
"icons" ,
"kernel" ,
"locale" ,
"localip" ,
"media" ,
"memory" ,
"opencl" ,
"opengl" ,
"os" ,
"packages" ,
"player" ,
"poweradapter" ,
"processes" ,
"publicip" ,
"separator" ,
"shell" ,
"sound" ,
"swap" ,
"terminal" ,
"terminalfont" ,
"title" ,
"theme" ,
"uptime" ,
"users" ,
"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" ,
"required" : [ "type" ],
"anyOf" : [
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +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
},
{
"properties" : {
"type" : {
"enum" : [
2023-06-20 14:41:01 +08:00
"bios" ,
"board" ,
"brightness" ,
"chassis" ,
"cpuusage" ,
"cursor" ,
"datetime" ,
"de" ,
"font" ,
"gamepad" ,
"host" ,
"icons" ,
"kernel" ,
"locale" ,
"media" ,
"memory" ,
"opencl" ,
"os" ,
"packages" ,
"player" ,
"poweradapter" ,
"processes" ,
"shell" ,
"swap" ,
"terminal" ,
"terminalfont" ,
"theme" ,
"uptime" ,
"users" ,
"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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "battery"
2023-06-17 22:37:33 +08:00
},
"dir" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.battery.dir" ,
"description" : "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-20 14:41:01 +08:00
"title" : "modules.battery.temp" ,
"description" : "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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "bluetooth"
2023-06-17 22:37:33 +08:00
},
"showDisconnected" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.bluetooth.showDisconnected" ,
"description" : "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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "cpu"
2023-06-17 22:37:33 +08:00
},
"temp" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.cpu.temp" ,
"description" : "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
},
"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
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "colors"
2023-06-18 14:00:24 +08:00
},
"symbol" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.colors.symbol" ,
"description" : "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-18 14:00:24 +08:00
}
}
},
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-06-20 14:41:01 +08:00
"title" : "modules.command.shell" ,
"description" : "Set the shell program to execute the command text\nDefault: cmd for Windows, csh for FreeBSD, bash for others" ,
"type" : "string"
2023-06-17 22:37:33 +08:00
},
"text" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.command.text" ,
"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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
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-20 14:41:01 +08:00
"description" : "Leave empty not to print the key" ,
"type" : "string"
2023-06-17 22:37:33 +08:00
},
2023-06-18 12:32:47 +08:00
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
2023-06-17 22:37:33 +08:00
"format" : {
2023-06-20 14:41:01 +08:00
"description" : "Text to print" ,
2023-06-17 22:37:33 +08:00
"type" : "string"
}
},
"required" : [ "format" ],
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "display"
2023-06-17 22:37:33 +08:00
},
"compactType" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.display.compactType" ,
2023-06-17 22:37:33 +08:00
"enum" : [ "none" , "original" , "scaled" ],
2023-06-20 14:41:01 +08:00
"description" : "Set if all displays should be printed in one line" ,
2023-06-17 22:37:33 +08:00
"default" : "none"
},
"detectName" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.display.detectName" ,
"description" : "Set if display name should be detected and printed (if supported)" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"preciseRefreshRate" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.display.preciseRefreshRate" ,
"description" : "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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "disk"
2023-06-17 22:37:33 +08:00
},
"folders" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.disk.folders" ,
2023-06-17 22:37:33 +08:00
"type" : "string" ,
2023-06-20 14:41:01 +08:00
"description" : "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" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.disk.showExternal" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Set if external volume should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : true
},
"showHidden" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.disk.showHidden" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Set if hidden volumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
},
"showSubvolumes" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.disk.showSubvolumes" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Set if subvolumes should be printed" ,
2023-06-17 22:37:33 +08:00
"default" : false
},
"showUnknown" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.disk.showUnknown" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Set if unknown (unable to detect sizes) volumes should be printed" ,
2023-06-17 22:37:33 +08:00
"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
},
"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
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "gpu"
2023-06-17 22:37:33 +08:00
},
"temp" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.gpu.temp" ,
"description" : "Detect and display GPU temperature if supported" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"forceVulkan" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.gpu.forceVulkan" ,
"description" : "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-20 14:41:01 +08:00
"title" : "modules.gpu.hideType" ,
"description" : "Specify the type of GPUs should not be printed" ,
2023-06-17 22:37:33 +08:00
"enum" : [ "integrated" , "discrete" , "none" ],
"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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "localip"
2023-06-17 22:37:33 +08:00
},
"showIpv4" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.showIpv4" ,
"description" : "Show IPv4 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : true
},
"showIpv6" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.showIpv6" ,
"description" : "Show IPv6 addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"showMac" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.showMac" ,
"description" : "Show MAC addresses" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"showLoop" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.showLoop" ,
"description" : "Show loop back addresses (127.0.0.1)" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"compact" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.compact" ,
"description" : "Show all IPs in one line" ,
2023-06-17 22:37:33 +08:00
"type" : "boolean" ,
"default" : false
},
"namePrefix" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.localip.namePrefix" ,
"description" : "Show IPs with given name prefix only" ,
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
},
"format" : {
2023-06-18 12:32:47 +08:00
"$ref" : "#/$defs/format"
2023-06-17 22:37:33 +08:00
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "opengl"
2023-06-17 22:37:33 +08:00
},
"library" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.opengl.library" ,
"description" : "Set the OpenGL context creation library to use. Linux only" ,
2023-06-17 22:37:33 +08:00
"enum" : [ "auto" , "egl" , "glx" , "osmesa" ],
"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
},
"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
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "publicip"
2023-06-18 14:38:39 +08:00
},
"url" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.publicip.url" ,
"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-06-20 14:41:01 +08:00
"title" : "modules.publicip.timeout" ,
"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)"
},
"key" : {
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "separator"
2023-06-18 14:38:39 +08:00
},
"string" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.separator.string" ,
"description" : "Set the string to be printed" ,
2023-06-18 14:38:39 +08:00
"type" : "string" ,
"format" : "url" ,
"default" : "http://ipinfo.io/ip"
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "sound"
2023-06-18 14:38:39 +08:00
},
"soundType" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.sound.soundType" ,
"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"
},
"key" : {
"$ref" : "#/$defs/key"
},
"keyColor" : {
"$ref" : "#/$defs/keyColor"
},
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "title"
2023-06-18 14:38:39 +08:00
},
"fqdn" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.title.fqdn" ,
2023-06-18 14:38:39 +08:00
"type" : "boolean" ,
2023-06-20 14:41:01 +08:00
"description" : "Set if the title should use fully qualified domain name" ,
2023-06-18 14:38:39 +08:00
"default" : false
}
},
"additionalProperties" : false
},
{
"properties" : {
"type" : {
2023-06-20 14:41:01 +08:00
"const" : "weather"
2023-06-18 14:38:39 +08:00
},
"timeout" : {
2023-06-20 14:41:01 +08:00
"title" : "modules.weather.timeout" ,
"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-06-20 14:41:01 +08:00
"title" : "modules.weather.outputFormat" ,
"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"
},
"format" : {
"$ref" : "#/$defs/format"
}
},
"additionalProperties" : false
2023-06-17 22:37:33 +08:00
}
]
2023-06-14 16:18:24 +08:00
}
]
}
}
}
}