mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
chore: adds defaultOrder to every module's definition
This commit is contained in:
@@ -34,6 +34,7 @@ typedef struct FFModuleBaseInfo {
|
||||
bool (*generateJsonResult)(void* options, struct yyjson_mut_doc* doc, struct yyjson_mut_val* module); // true on success
|
||||
void (*generateJsonConfig)(void* options, struct yyjson_mut_doc* doc, struct yyjson_mut_val* obj);
|
||||
FFModuleFormatArgList formatArgs;
|
||||
const uint8_t defaultOrder;
|
||||
} FFModuleBaseInfo;
|
||||
|
||||
typedef enum FFModuleKeyType: uint8_t {
|
||||
|
||||
@@ -321,5 +321,6 @@ FFModuleBaseInfo ffBatteryModuleInfo = {
|
||||
{ "Battery time remaining minutes", "time-minutes" },
|
||||
{ "Battery time remaining seconds", "time-seconds" },
|
||||
{ "Battery time remaining (formatted)", "time-formatted" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 44,
|
||||
};
|
||||
|
||||
@@ -144,5 +144,6 @@ FFModuleBaseInfo ffBiosModuleInfo = {
|
||||
{ "BIOS vendor", "vendor" },
|
||||
{ "BIOS version", "version" },
|
||||
{ "Firmware type", "type" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 5,
|
||||
};
|
||||
|
||||
@@ -166,5 +166,6 @@ FFModuleBaseInfo ffBluetoothModuleInfo = {
|
||||
{ "Battery percentage number", "battery-percentage" },
|
||||
{ "Is connected", "connected" },
|
||||
{ "Battery percentage bar", "battery-percentage-bar" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 58,
|
||||
};
|
||||
|
||||
@@ -207,5 +207,6 @@ FFModuleBaseInfo ffBluetoothRadioModuleInfo = {
|
||||
{ "Vendor", "vendor" },
|
||||
{ "Discoverable", "discoverable" },
|
||||
{ "Connectable / Pairable", "connectable" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 59,
|
||||
};
|
||||
|
||||
@@ -121,5 +121,6 @@ FFModuleBaseInfo ffBoardModuleInfo = {
|
||||
{ "Board vendor", "vendor" },
|
||||
{ "Board version", "version" },
|
||||
{ "Board serial number", "serial" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 7,
|
||||
};
|
||||
|
||||
@@ -117,5 +117,6 @@ FFModuleBaseInfo ffBootmgrModuleInfo = {
|
||||
{ "Firmware file name", "firmware-name" },
|
||||
{ "Is secure boot enabled", "secure-boot" },
|
||||
{ "Boot order", "order" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 6,
|
||||
};
|
||||
|
||||
@@ -33,4 +33,5 @@ FFModuleBaseInfo ffBreakModuleInfo = {
|
||||
.destroyOptions = (void*) ffDestroyBreakOptions,
|
||||
.parseJsonObject = (void*) ffParseBreakJsonObject,
|
||||
.printModule = (void*) ffPrintBreak,
|
||||
.defaultOrder = 71,
|
||||
};
|
||||
|
||||
@@ -206,5 +206,6 @@ FFModuleBaseInfo ffBrightnessModuleInfo = {
|
||||
{ "Current brightness value", "current" },
|
||||
{ "Screen brightness (percentage bar)", "percentage-bar" },
|
||||
{ "Is built-in screen", "is-builtin" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 18,
|
||||
};
|
||||
|
||||
@@ -220,5 +220,6 @@ FFModuleBaseInfo ffBtrfsModuleInfo = {
|
||||
{ "Allocated percentage bar", "allocated-percentage-bar" },
|
||||
{ "Node size", "node-size" },
|
||||
{ "Sector size", "sector-size" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 42,
|
||||
};
|
||||
|
||||
@@ -130,5 +130,6 @@ FFModuleBaseInfo ffCameraModuleInfo = {
|
||||
{ "Identifier", "id" },
|
||||
{ "Width (in px)", "width" },
|
||||
{ "Height (in px)", "height" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 61,
|
||||
};
|
||||
|
||||
@@ -124,4 +124,5 @@ FFModuleBaseInfo ffChassisModuleInfo = {
|
||||
{ "Chassis version", "version" },
|
||||
{ "Chassis serial number", "serial" },
|
||||
})),
|
||||
.defaultOrder = 8,
|
||||
};
|
||||
|
||||
@@ -264,5 +264,6 @@ FFModuleBaseInfo ffCodecModuleInfo = {
|
||||
{ "Decoder / Encoder", "direction" },
|
||||
{ "Compatibility alias of codec types", "types" },
|
||||
{ "Platform API used for detection", "platform-api" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 37,
|
||||
};
|
||||
|
||||
@@ -302,4 +302,5 @@ FFModuleBaseInfo ffColorsModuleInfo = {
|
||||
.parseJsonObject = (void*) ffParseColorsJsonObject,
|
||||
.printModule = (void*) ffPrintColors,
|
||||
.generateJsonConfig = (void*) ffGenerateColorsJsonConfig,
|
||||
.defaultOrder = 72,
|
||||
};
|
||||
|
||||
@@ -163,5 +163,5 @@ FFModuleBaseInfo ffCommandModuleInfo = {
|
||||
.generateJsonConfig = (void*) ffGenerateCommandJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Command result", "result" },
|
||||
}))
|
||||
})),
|
||||
};
|
||||
|
||||
@@ -276,5 +276,6 @@ FFModuleBaseInfo ffCPUModuleInfo = {
|
||||
{ "CPU code name", "code-name" },
|
||||
{ "CPU technology", "technology" },
|
||||
#endif
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 33,
|
||||
};
|
||||
|
||||
@@ -234,5 +234,6 @@ FFModuleBaseInfo ffCPUCacheModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Separate result", "result" },
|
||||
{ "Sum result", "sum" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 34,
|
||||
};
|
||||
|
||||
@@ -198,5 +198,6 @@ FFModuleBaseInfo ffCPUUsageModuleInfo = {
|
||||
{ "CPU usage (percentage bar, average)", "avg-bar" },
|
||||
{ "CPU usage (percentage bar, maximum)", "max-bar" },
|
||||
{ "CPU usage (percentage bar, minimum)", "min-bar" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 35,
|
||||
};
|
||||
|
||||
@@ -112,4 +112,5 @@ FFModuleBaseInfo ffCursorModuleInfo = {
|
||||
{ "Cursor theme", "theme" },
|
||||
{ "Cursor size", "size" },
|
||||
})),
|
||||
.defaultOrder = 27,
|
||||
};
|
||||
|
||||
@@ -185,5 +185,6 @@ FFModuleBaseInfo ffDateTimeModuleInfo = {
|
||||
{ "Locale-dependent timezone name or abbreviation", "timezone-name" },
|
||||
{ "Day in month with leading zero", "day-pretty" },
|
||||
{ "AM or PM", "am-pm" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 52,
|
||||
};
|
||||
|
||||
+2
-1
@@ -94,5 +94,6 @@ FFModuleBaseInfo ffDEModuleInfo = {
|
||||
{ "DE process name", "process-name" },
|
||||
{ "DE pretty name", "pretty-name" },
|
||||
{ "DE version", "version" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 21,
|
||||
};
|
||||
|
||||
@@ -486,5 +486,6 @@ FFModuleBaseInfo ffDiskModuleInfo = {
|
||||
{ "Years fraction after creation", "years-fraction" },
|
||||
{ "Size free", "size-free" },
|
||||
{ "Size available", "size-available" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 41,
|
||||
};
|
||||
|
||||
@@ -189,5 +189,6 @@ FFModuleBaseInfo ffDiskIOModuleInfo = {
|
||||
{ "Size of data written [per second] (in bytes)", "bytes-written" },
|
||||
{ "Number of reads", "read-count" },
|
||||
{ "Number of writes", "write-count" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 67,
|
||||
};
|
||||
|
||||
@@ -445,5 +445,6 @@ FFModuleBaseInfo ffDisplayModuleInfo = {
|
||||
{ "Screen preferred height (in pixels)", "preferred-height" },
|
||||
{ "Screen preferred refresh rate (in Hz)", "preferred-refresh-rate" },
|
||||
{ "DPI", "dpi" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 17,
|
||||
};
|
||||
|
||||
@@ -144,5 +144,6 @@ FFModuleBaseInfo ffDNSModuleInfo = {
|
||||
.generateJsonConfig = (void*) ffGenerateDNSJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "DNS result", "result" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 50,
|
||||
};
|
||||
|
||||
@@ -117,5 +117,6 @@ FFModuleBaseInfo ffEditorModuleInfo = {
|
||||
{ "Exe name of real path", "exe-name" },
|
||||
{ "Full path of real path", "path" },
|
||||
{ "Version", "version" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 16,
|
||||
};
|
||||
|
||||
@@ -109,5 +109,6 @@ FFModuleBaseInfo ffFontModuleInfo = {
|
||||
{ "Font 3", "font3" },
|
||||
{ "Font 4", "font4" },
|
||||
{ "Combined fonts for display", "combined" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 26,
|
||||
};
|
||||
|
||||
@@ -202,5 +202,6 @@ FFModuleBaseInfo ffGamepadModuleInfo = {
|
||||
{ "Serial number", "serial" },
|
||||
{ "Battery percentage num", "battery-percentage" },
|
||||
{ "Battery percentage bar", "battery-percentage-bar" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 62,
|
||||
};
|
||||
|
||||
@@ -511,4 +511,5 @@ FFModuleBaseInfo ffGPUModuleInfo = {
|
||||
{ "PCIe maximum speed in gen and lanes", "pcie-max-speed" },
|
||||
{ "PCIe current speed in gen and lanes", "pcie-curr-speed" },
|
||||
})),
|
||||
.defaultOrder = 36,
|
||||
};
|
||||
|
||||
@@ -152,5 +152,6 @@ FFModuleBaseInfo ffHostModuleInfo = {
|
||||
{ "Product vendor", "vendor" },
|
||||
{ "Product serial number", "serial" },
|
||||
{ "Product uuid", "uuid" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 4,
|
||||
};
|
||||
|
||||
@@ -105,5 +105,6 @@ FFModuleBaseInfo ffIconsModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Icons part 1", "icons1" },
|
||||
{ "Icons part 2", "icons2" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 25,
|
||||
};
|
||||
|
||||
@@ -116,5 +116,6 @@ FFModuleBaseInfo ffInitSystemModuleInfo = {
|
||||
{ "Init system exe path", "exe" },
|
||||
{ "Init system version path", "version" },
|
||||
{ "Init system pid", "pid" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 10,
|
||||
};
|
||||
|
||||
@@ -77,5 +77,6 @@ FFModuleBaseInfo ffKernelModuleInfo = {
|
||||
{ "Architecture", "arch" },
|
||||
{ "Display version", "display-version" },
|
||||
{ "Page size", "page-size" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 9,
|
||||
};
|
||||
|
||||
@@ -160,5 +160,6 @@ FFModuleBaseInfo ffKeyboardModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Name", "name" },
|
||||
{ "Serial number", "serial" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 64,
|
||||
};
|
||||
|
||||
+2
-1
@@ -118,5 +118,6 @@ FFModuleBaseInfo ffLMModuleInfo = {
|
||||
{ "LM service", "service" },
|
||||
{ "LM type", "type" },
|
||||
{ "LM version", "version" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 20,
|
||||
};
|
||||
|
||||
@@ -160,5 +160,6 @@ FFModuleBaseInfo ffLoadavgModuleInfo = {
|
||||
{ "Load average over 1min", "loadavg1" },
|
||||
{ "Load average over 5min", "loadavg2" },
|
||||
{ "Load average over 15min", "loadavg3" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 12,
|
||||
};
|
||||
|
||||
@@ -77,5 +77,6 @@ FFModuleBaseInfo ffLocaleModuleInfo = {
|
||||
.generateJsonConfig = (void*) ffGenerateLocaleJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Locale code", "result" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 53,
|
||||
};
|
||||
|
||||
@@ -439,5 +439,6 @@ FFModuleBaseInfo ffLocalIPModuleInfo = {
|
||||
{ "MTU size in bytes", "mtu" },
|
||||
{ "Link speed (formatted)", "speed" },
|
||||
{ "Interface flags", "flags" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 49,
|
||||
};
|
||||
|
||||
@@ -273,5 +273,6 @@ FFModuleBaseInfo ffMediaModuleInfo = {
|
||||
{ "Player name", "player-name" },
|
||||
{ "Player ID", "player-id" },
|
||||
{ "URL", "url" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 47,
|
||||
};
|
||||
|
||||
@@ -131,5 +131,6 @@ FFModuleBaseInfo ffMemoryModuleInfo = {
|
||||
{ "Total size", "total" },
|
||||
{ "Percentage used (num)", "percentage" },
|
||||
{ "Percentage used (bar)", "percentage-bar" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 38,
|
||||
};
|
||||
|
||||
@@ -125,5 +125,6 @@ FFModuleBaseInfo ffMonitorModuleInfo = {
|
||||
{ "Serial number", "serial" },
|
||||
{ "Maximum refresh rate in Hz", "refresh-rate" },
|
||||
{ "True if the display is HDR compatible", "hdr-compatible" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 19,
|
||||
};
|
||||
|
||||
@@ -163,5 +163,6 @@ FFModuleBaseInfo ffMouseModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Mouse name", "name" },
|
||||
{ "Mouse serial number", "serial" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 63,
|
||||
};
|
||||
|
||||
@@ -220,5 +220,6 @@ FFModuleBaseInfo ffNetIOModuleInfo = {
|
||||
{ "Number of errors sent [per second]", "tx-errors" },
|
||||
{ "Number of packets dropped when receiving [per second]", "rx-drops" },
|
||||
{ "Number of packets dropped when sending [per second]", "tx-drops" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 66,
|
||||
};
|
||||
|
||||
@@ -132,5 +132,6 @@ FFModuleBaseInfo ffOpenCLModuleInfo = {
|
||||
{ "Platform version", "version" },
|
||||
{ "Platform name", "name" },
|
||||
{ "Platform vendor", "vendor" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 56,
|
||||
};
|
||||
|
||||
@@ -141,5 +141,6 @@ FFModuleBaseInfo ffOpenGLModuleInfo = {
|
||||
{ "OpenGL vendor", "vendor" },
|
||||
{ "OpenGL shading language version", "slv" },
|
||||
{ "OpenGL library used", "library" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 55,
|
||||
};
|
||||
|
||||
+2
-1
@@ -193,5 +193,6 @@ FFModuleBaseInfo ffOSModuleInfo = {
|
||||
{ "Version codename of the OS", "codename" },
|
||||
{ "Build ID of the OS", "build-id" },
|
||||
{ "Architecture of the OS", "arch" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 3,
|
||||
};
|
||||
|
||||
@@ -573,5 +573,6 @@ FFModuleBaseInfo ffPackagesModuleInfo = {
|
||||
{ "Total number of all hpkg packages", "hpkg-all" },
|
||||
{ "Total number of all nix packages", "nix-all" },
|
||||
{ "Number of all packages", "all" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 14,
|
||||
};
|
||||
|
||||
@@ -284,5 +284,6 @@ FFModuleBaseInfo ffPhysicalDiskModuleInfo = {
|
||||
{ "Device kind (Read-only or Read-write)", "readonly-type" },
|
||||
{ "Product revision", "revision" },
|
||||
{ "Device temperature (formatted)", "temperature" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 68,
|
||||
};
|
||||
|
||||
@@ -180,5 +180,6 @@ FFModuleBaseInfo ffPhysicalMemoryModuleInfo = {
|
||||
{ "Part number", "part-number" },
|
||||
{ "True if ECC enabled", "is-ecc-enabled" },
|
||||
{ "True if a memory module is installed in the slot", "is-installed" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 39,
|
||||
};
|
||||
|
||||
@@ -122,5 +122,6 @@ FFModuleBaseInfo ffPlayerModuleInfo = {
|
||||
{ "Player name", "name" },
|
||||
{ "Player Identifier", "id" },
|
||||
{ "URL name", "url" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 46,
|
||||
};
|
||||
|
||||
@@ -125,5 +125,6 @@ FFModuleBaseInfo ffPowerAdapterModuleInfo = {
|
||||
{ "Power adapter model", "model" },
|
||||
{ "Power adapter description", "description" },
|
||||
{ "Power adapter serial number", "serial" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 45,
|
||||
};
|
||||
|
||||
@@ -72,5 +72,7 @@ FFModuleBaseInfo ffProcessesModuleInfo = {
|
||||
.generateJsonResult = (void*) ffGenerateProcessesJsonResult,
|
||||
.generateJsonConfig = (void*) ffGenerateProcessesJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Process count", "result" } }))
|
||||
{ "Process count", "result" },
|
||||
})),
|
||||
.defaultOrder = 13,
|
||||
};
|
||||
|
||||
@@ -121,5 +121,6 @@ FFModuleBaseInfo ffPublicIPModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Public IP address", "ip" },
|
||||
{ "Location", "location" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 48,
|
||||
};
|
||||
|
||||
@@ -128,4 +128,5 @@ FFModuleBaseInfo ffSeparatorModuleInfo = {
|
||||
.parseJsonObject = (void*) ffParseSeparatorJsonObject,
|
||||
.printModule = (void*) ffPrintSeparator,
|
||||
.generateJsonConfig = (void*) ffGenerateSeparatorJsonConfig,
|
||||
.defaultOrder = 2,
|
||||
};
|
||||
|
||||
@@ -106,5 +106,6 @@ FFModuleBaseInfo ffShellModuleInfo = {
|
||||
{ "Shell pretty name", "pretty-name" },
|
||||
{ "Shell full exe path", "exe-path" },
|
||||
{ "Shell tty used", "tty" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 15,
|
||||
};
|
||||
|
||||
@@ -215,5 +215,6 @@ FFModuleBaseInfo ffSoundModuleInfo = {
|
||||
{ "Identifier", "identifier" },
|
||||
{ "Volume (in percentage bar)", "volume-percentage-bar" },
|
||||
{ "Platform API used", "platform-api" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 60,
|
||||
};
|
||||
|
||||
@@ -196,5 +196,6 @@ FFModuleBaseInfo ffSwapModuleInfo = {
|
||||
{ "Percentage used (num)", "percentage" },
|
||||
{ "Percentage used (bar)", "percentage-bar" },
|
||||
{ "Name", "name" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 40,
|
||||
};
|
||||
|
||||
@@ -100,5 +100,6 @@ FFModuleBaseInfo ffTerminalModuleInfo = {
|
||||
{ "Terminal version", "version" },
|
||||
{ "Terminal full exe path", "exe-path" },
|
||||
{ "Terminal tty / pts used", "tty" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 29,
|
||||
};
|
||||
|
||||
@@ -119,4 +119,5 @@ FFModuleBaseInfo ffTerminalFontModuleInfo = {
|
||||
{ "Terminal font size", "size" },
|
||||
{ "Terminal font styles", "styles" },
|
||||
})),
|
||||
.defaultOrder = 30,
|
||||
};
|
||||
|
||||
@@ -90,4 +90,5 @@ FFModuleBaseInfo ffTerminalSizeModuleInfo = {
|
||||
{ "Terminal width (in pixels)", "width" },
|
||||
{ "Terminal height (in pixels)", "height" },
|
||||
})),
|
||||
.defaultOrder = 31,
|
||||
};
|
||||
|
||||
@@ -106,5 +106,6 @@ FFModuleBaseInfo ffTerminalThemeModuleInfo = {
|
||||
{ "Terminal foreground type (Dark / Light)", "fg-type" },
|
||||
{ "Terminal background color", "bg-color" },
|
||||
{ "Terminal background type (Dark / Light)", "bg-type" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 32,
|
||||
};
|
||||
|
||||
@@ -98,5 +98,6 @@ FFModuleBaseInfo ffThemeModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Theme part 1", "theme1" },
|
||||
{ "Theme part 2", "theme2" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 24,
|
||||
};
|
||||
|
||||
@@ -197,5 +197,6 @@ FFModuleBaseInfo ffTitleModuleInfo = {
|
||||
{ "UID (*nix) / SID (Windows)", "user-id" },
|
||||
{ "PID of current process", "pid" },
|
||||
{ "CWD with home dir replaced by `~`", "cwd" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 1,
|
||||
};
|
||||
|
||||
@@ -94,5 +94,6 @@ FFModuleBaseInfo ffTPMModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "TPM device version", "version" },
|
||||
{ "TPM general description", "description" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 69,
|
||||
};
|
||||
|
||||
@@ -102,5 +102,6 @@ FFModuleBaseInfo ffUptimeModuleInfo = {
|
||||
{ "Days of year after boot", "days-of-year" },
|
||||
{ "Years fraction after boot", "years-fraction" },
|
||||
{ "Formatted uptime", "formatted" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 11,
|
||||
};
|
||||
|
||||
@@ -202,5 +202,6 @@ FFModuleBaseInfo ffUsersModuleInfo = {
|
||||
{ "Years integer after login", "years" },
|
||||
{ "Days of year after login", "days-of-year" },
|
||||
{ "Years fraction after login", "years-fraction" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 57,
|
||||
};
|
||||
|
||||
@@ -113,5 +113,6 @@ FFModuleBaseInfo ffVersionModuleInfo = {
|
||||
{ "Date time when compiling", "compile-time" },
|
||||
{ "Compiler used when compiling", "compiler" },
|
||||
{ "Libc used when compiling", "libc" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 70,
|
||||
};
|
||||
|
||||
@@ -145,5 +145,6 @@ FFModuleBaseInfo ffVulkanModuleInfo = {
|
||||
{ "API version", "api-version" },
|
||||
{ "Conformance version", "conformance-version" },
|
||||
{ "Instance version", "instance-version" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 54,
|
||||
};
|
||||
|
||||
@@ -86,5 +86,6 @@ FFModuleBaseInfo ffWallpaperModuleInfo = {
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "File name", "file-name" },
|
||||
{ "Full path", "full-path" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 28,
|
||||
};
|
||||
|
||||
@@ -102,5 +102,6 @@ FFModuleBaseInfo ffWeatherModuleInfo = {
|
||||
.generateJsonConfig = (void*) ffGenerateWeatherJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "Weather result", "result" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 65,
|
||||
};
|
||||
|
||||
@@ -235,5 +235,6 @@ FFModuleBaseInfo ffWifiModuleInfo = {
|
||||
{ "Connection signal quality (percentage bar)", "signal-quality-bar" },
|
||||
{ "Connection channel number", "channel" },
|
||||
{ "Connection channel band in GHz", "band" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 51,
|
||||
};
|
||||
|
||||
+2
-1
@@ -134,5 +134,6 @@ FFModuleBaseInfo ffWMModuleInfo = {
|
||||
{ "WM protocol name", "protocol-name" },
|
||||
{ "WM plugin name", "plugin-name" },
|
||||
{ "WM version", "version" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 22,
|
||||
};
|
||||
|
||||
@@ -71,5 +71,6 @@ FFModuleBaseInfo ffWMThemeModuleInfo = {
|
||||
.generateJsonConfig = (void*) ffGenerateWMThemeJsonConfig,
|
||||
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
|
||||
{ "WM theme", "result" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 23,
|
||||
};
|
||||
|
||||
@@ -214,5 +214,6 @@ FFModuleBaseInfo ffZpoolModuleInfo = {
|
||||
{ "Size allocated percentage bar", "allocated-percentage-bar" },
|
||||
{ "Fragmentation percentage bar", "frag-percentage-bar" },
|
||||
{ "Is read-only", "is-readonly" },
|
||||
}))
|
||||
})),
|
||||
.defaultOrder = 43,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user