You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,61 @@
1
+
# 2.51.0
2
+
3
+
Changes:
4
+
* Fastfetch now requires [yyjson 0.12](https://github.com/ibireme/yyjson/releases/tag/0.12.0) to build when using `-DENABLE_SYSTEM_YYJSON=ON`.
5
+
* The Disk module no longer shows hyperlink mountpoints by default, which cause issues on some real consoles (Disk)
6
+
* Instead, the custom key for the Disk module now supports `{mountpoint-link}` and `{name-link}` to show hyperlinks for mountpoints and names. For example, `{ "type": "disk", "key": "Disk ({mountpoint-link})" }` can be used to restore the old behavior.
7
+
8
+
Features:
9
+
* Adds `succeeded` module condition to JSONC config. When set to `false`, the module will only run if the last module failed (#1908)
10
+
* Useful for displaying fallback placeholders when a module fails. For example:
11
+
```jsonc
12
+
{
13
+
"host",
14
+
// If fastfetch fails to detect host info, display "DIY PC" instead
15
+
{
16
+
"type":"custom",
17
+
"condition": {
18
+
"succeeded":false
19
+
},
20
+
"key":"Host",
21
+
"format":"DIY PC"
22
+
}
23
+
}
24
+
```
25
+
* By upgrading to yyjson 0.12, fastfetch now adds [JSON5](https://json5.org/) format support for configuration files (#1907)
26
+
*[JSON5](https://json5.org/) is a superset of JSONC that allows unquoted keys, single quotes, multi-line strings, etc., and is fully compatible with JSONC and strict JSON.
27
+
* To use JSON5, simply name your config file with a `.json5` extension. The `.jsonc` extension is still supported and used as the default extension for better IDE syntax highlighting support.
28
+
* Fastfetch has been ported to [`GNU/Hurd`](https://www.gnu.org/software/hurd/) (#1895)
29
+
* Thanks to the efforts of @yelninei!
30
+
* Built-in logos now honor `logo.width` (#1905)
31
+
* When its value is larger than the actual logo width, the logo will be padded with spaces to the right
32
+
* Adds Trinity DE version detection (#1917, DE, Linux)
33
+
* Adds formatted free and available disk size fields (#1929, Disk)
34
+
*`{size-free}`: free size of the disk
35
+
*`{size-available}`: available size of the disk
36
+
* See [askubuntu.com](https://askubuntu.com/questions/249387/df-h-used-space-avail-free-space-is-less-than-the-total-size-of-home) for the difference between free and available size
* Useful when installing software that requires or is optimized for specific CPU features. E.g., [CachyOS](https://wiki.cachyos.org/features/optimized_repos/)
cmake_dependent_option(ENABLE_IMAGEMAGICK7"Enable imagemagick 7"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR APPLE OR WIN32 OR SunOS OR Haiku"OFF)
72
-
cmake_dependent_option(ENABLE_IMAGEMAGICK6"Enable imagemagick 6"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR APPLE OR SunOS"OFF)
61
+
cmake_dependent_option(ENABLE_VULKAN"Enable vulkan"ON"LINUX OR APPLE OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS OR Haiku OR GNU"OFF)
62
+
cmake_dependent_option(ENABLE_WAYLAND"Enable wayland-client"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR GNU"OFF)
63
+
cmake_dependent_option(ENABLE_XCB_RANDR"Enable xcb-randr"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
64
+
cmake_dependent_option(ENABLE_XRANDR"Enable xrandr"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
65
+
cmake_dependent_option(ENABLE_DRM"Enable libdrm"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
66
+
cmake_dependent_option(ENABLE_DRM_AMDGPU"Enable libdrm_amdgpu"ON"LINUX OR FreeBSD OR GNU"OFF)
67
+
cmake_dependent_option(ENABLE_GIO"Enable gio-2.0"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
68
+
cmake_dependent_option(ENABLE_DCONF"Enable dconf"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
69
+
cmake_dependent_option(ENABLE_DBUS"Enable dbus-1"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR Haiku OR GNU"OFF)
70
+
cmake_dependent_option(ENABLE_XFCONF"Enable libxfconf-0"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
71
+
cmake_dependent_option(ENABLE_SQLITE3"Enable sqlite3"ON"LINUX OR FreeBSD OR APPLE OR OpenBSD OR NetBSD OR SunOS OR GNU"OFF)
72
+
cmake_dependent_option(ENABLE_RPM"Enable rpm"ON"LINUX OR GNU"OFF)
73
+
cmake_dependent_option(ENABLE_IMAGEMAGICK7"Enable imagemagick 7"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR APPLE OR WIN32 OR SunOS OR Haiku OR GNU"OFF)
74
+
cmake_dependent_option(ENABLE_IMAGEMAGICK6"Enable imagemagick 6"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR APPLE OR SunOS OR GNU"OFF)
73
75
cmake_dependent_option(ENABLE_CHAFA"Enable chafa"ON"ENABLE_IMAGEMAGICK6 OR ENABLE_IMAGEMAGICK7"OFF)
74
76
cmake_dependent_option(ENABLE_ZLIB"Enable zlib"ON"ENABLE_IMAGEMAGICK6 OR ENABLE_IMAGEMAGICK7"OFF)
75
-
cmake_dependent_option(ENABLE_EGL"Enable egl"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR WIN32 OR SunOS OR Haiku"OFF)
76
-
cmake_dependent_option(ENABLE_GLX"Enable glx"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR SunOS"OFF)
77
-
cmake_dependent_option(ENABLE_OPENCL"Enable opencl"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS OR Haiku"OFF)
77
+
cmake_dependent_option(ENABLE_EGL"Enable egl"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR WIN32 OR SunOS OR Haiku OR GNU"OFF)
78
+
cmake_dependent_option(ENABLE_GLX"Enable glx"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR ANDROID OR SunOS OR GNU"OFF)
79
+
cmake_dependent_option(ENABLE_OPENCL"Enable opencl"ON"LINUX OR FreeBSD OR OpenBSD OR NetBSD OR WIN32 OR ANDROID OR SunOS OR Haiku OR GNU"OFF)
Copy file name to clipboardExpand all lines: doc/json_schema.json
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,19 @@
237
237
"description": "Null to disable this condition"
238
238
}
239
239
]
240
+
},
241
+
"succeeded": {
242
+
"description": "Whether the module succeeded in the last run",
243
+
"oneOf": [
244
+
{
245
+
"type": "boolean",
246
+
"description": "True to only show the module if it succeeded, false to only show it if it failed"
247
+
},
248
+
{
249
+
"type": "null",
250
+
"description": "Null to disable this condition"
251
+
}
252
+
]
240
253
}
241
254
}
242
255
},
@@ -305,7 +318,7 @@
305
318
"type": "string"
306
319
},
307
320
"cpuFormat": {
308
-
"description": "Output format of the module `CPU`. See Wiki for formatting syntax\n 1. {name}: Name\n 2. {vendor}: Vendor\n 3. {cores-physical}: Physical core count\n 4. {cores-logical}: Logical core count\n 5. {cores-online}: Online core count\n 6. {freq-base}: Base frequency (formatted)\n 7. {freq-max}: Max frequency (formatted)\n 8. {temperature}: Temperature (formatted)\n 9. {core-types}: Logical core count grouped by frequency\n 10. {packages}: Processor package count",
321
+
"description": "Output format of the module `CPU`. See Wiki for formatting syntax\n 1. {name}: Name\n 2. {vendor}: Vendor\n 3. {cores-physical}: Physical core count\n 4. {cores-logical}: Logical core count\n 5. {cores-online}: Online core count\n 6. {freq-base}: Base frequency (formatted)\n 7. {freq-max}: Max frequency (formatted)\n 8. {temperature}: Temperature (formatted)\n 9. {core-types}: Logical core count grouped by frequency\n 10. {packages}: Processor package count\n 11. {march}: X86-64 CPU microarchitecture",
309
322
"type": "string"
310
323
},
311
324
"cpucacheFormat": {
@@ -333,7 +346,7 @@
333
346
"type": "string"
334
347
},
335
348
"diskFormat": {
336
-
"description": "Output format of the module `Disk`. See Wiki for formatting syntax\n 1. {size-used}: Size used\n 2. {size-total}: Size total\n 3. {size-percentage}: Size percentage num\n 4. {files-used}: Files used\n 5. {files-total}: Files total\n 6. {files-percentage}: Files percentage num\n 7. {is-external}: True if external volume\n 8. {is-hidden}: True if hidden volume\n 9. {filesystem}: Filesystem\n 10. {name}: Label / name\n 11. {is-readonly}: True if read-only\n 12. {create-time}: Create time in local timezone\n 13. {size-percentage-bar}: Size percentage bar\n 14. {files-percentage-bar}: Files percentage bar\n 15. {days}: Days after creation\n 16. {hours}: Hours after creation\n 17. {minutes}: Minutes after creation\n 18. {seconds}: Seconds after creation\n 19. {milliseconds}: Milliseconds after creation\n 20. {mountpoint}: Mount point / drive letter\n 21. {mount-from}: Mount from (device path)\n 22. {years}: Years integer after creation\n 23. {days-of-year}: Days of year after creation\n 24. {years-fraction}: Years fraction after creation",
349
+
"description": "Output format of the module `Disk`. See Wiki for formatting syntax\n 1. {size-used}: Size used\n 2. {size-total}: Size total\n 3. {size-percentage}: Size percentage num\n 4. {files-used}: Files used\n 5. {files-total}: Files total\n 6. {files-percentage}: Files percentage num\n 7. {is-external}: True if external volume\n 8. {is-hidden}: True if hidden volume\n 9. {filesystem}: Filesystem\n 10. {name}: Label / name\n 11. {is-readonly}: True if read-only\n 12. {create-time}: Create time in local timezone\n 13. {size-percentage-bar}: Size percentage bar\n 14. {files-percentage-bar}: Files percentage bar\n 15. {days}: Days after creation\n 16. {hours}: Hours after creation\n 17. {minutes}: Minutes after creation\n 18. {seconds}: Seconds after creation\n 19. {milliseconds}: Milliseconds after creation\n 20. {mountpoint}: Mount point / drive letter\n 21. {mount-from}: Mount from (device path)\n 22. {years}: Years integer after creation\n 23. {days-of-year}: Days of year after creation\n 24. {years-fraction}: Years fraction after creation\n 25. {size-free}: Size free\n 26. {size-available}: Size available",
0 commit comments