Skip to content

Commit 8c86caf

Browse files
authored
Merge pull request #1976 from fastfetch-cli/dev
Release: v2.53.0
2 parents de18a07 + 4098cf5 commit 8c86caf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2832
-1232
lines changed

.github/workflows/ci.yml

Lines changed: 81 additions & 281 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# 2.53.0
2+
3+
Changes:
4+
* JSON property `length` in `Separator` module has been renamed to `times` for clarity (Separator)
5+
6+
Features:
7+
* Adds IPv6 type selection (#1459, LocalIP)
8+
* For example: `{ "type": "localip", "showIpv6": "ula" /* Show ULA only */ }`
9+
* Adds more ARM CPU part IDs (CPU, Linux)
10+
* Improves Ghostty font config parsing with fallback font detection (#1967, TerminalFont)
11+
* Replaces statx(2) call with syscall(2) for better compatibility (Disk, Linux)
12+
* Allows array input for disk folder and filesystem options (Disk)
13+
* For example: `{ "type": "disk", "folders": ["/", "/home"] }`
14+
* Adds support for ignoring input devices by name prefix (#1950, Keyboard / Mouse / Gamepad)
15+
* For example: `{ "type": "keyboard", "ignores": ["Apple ", "Corsair "] }`
16+
* Adds support for (B)SSID detection on macOS Tahoe (Wifi, macOS)
17+
* Please don't expect it to work on later macOS versions
18+
* Improves Ubuntu flavor detection (#1975, OS, Linux)
19+
* Refines ARMv8.4-A detection to require LSE2 (CPU, Windows)
20+
* Detects the latest Dimensity & Snapdragon SoC names (CPU, Android)
21+
22+
Bugfixes:
23+
* Handles zero temperature data (#1960, CPU, Windows)
24+
* Fixes `dlopen libzfs.so failed` error on Proxmox 9 (#1973, Zpool, Linux)
25+
26+
Logos:
27+
* Removes Starry Linux
28+
* Adds TempleOS
29+
* Updates ObsidianOS
30+
131
# 2.52.0
232

333
Changes:

CMakeLists.txt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url
22

33
project(fastfetch
4-
VERSION 2.52.0
4+
VERSION 2.53.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -1304,10 +1304,7 @@ endif()
13041304
include(CheckFunctionExists)
13051305
check_function_exists(wcwidth HAVE_WCWIDTH)
13061306
if(NOT HAVE_WCWIDTH)
1307-
list(APPEND LIBFASTFETCH_SRC src/3rdparty/mk_wcwidch/wcwidth.c)
1308-
endif()
1309-
if(LINUX)
1310-
check_function_exists(statx HAVE_STATX)
1307+
list(APPEND LIBFASTFETCH_SRC src/util/wcwidth.c)
13111308
endif()
13121309
if(NOT WIN32)
13131310
check_function_exists(pipe2 HAVE_PIPE2)
@@ -1424,10 +1421,6 @@ if(FreeBSD OR OpenBSD OR NetBSD)
14241421
unset(CMAKE_REQUIRED_DEFINITIONS)
14251422
endif()
14261423

1427-
if(HAVE_STATX)
1428-
target_compile_definitions(libfastfetch PUBLIC FF_HAVE_STATX)
1429-
endif()
1430-
14311424
if(HAVE_WCWIDTH)
14321425
target_compile_definitions(libfastfetch PUBLIC FF_HAVE_WCWIDTH)
14331426
endif()

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastfetch (2.52.0) jammy; urgency=medium
2+
3+
* Update to 2.52.0
4+
5+
-- Carter Li <[email protected]> Fri, 05 Sep 2025 14:59:44 +0800
6+
17
fastfetch (2.51.0) jammy; urgency=medium
28

39
* Update to 2.51.0

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: fastfetch
22
Section: universe/utils
33
Priority: optional
44
Maintainer: Carter Li <[email protected]>
5-
Build-Depends: libvulkan-dev, libwayland-dev, libxrandr-dev, libxcb-randr0-dev, libdconf-dev, libdbus-1-dev, libmagickcore-dev, libxfconf-0-dev, libsqlite3-dev, librpm-dev, libegl-dev, libglx-dev, ocl-icd-opencl-dev, libpulse-dev, libdrm-dev, libddcutil-dev, libchafa-dev, directx-headers-dev, pkgconf, cmake (>= 3.12), debhelper (>= 11.2), dh-cmake, dh-cmake-compat (= 1), dh-sequence-cmake, dh-sequence-ctest, ninja-build
5+
Build-Depends: libelf-dev, libvulkan-dev, libwayland-dev, libxrandr-dev, libxcb-randr0-dev, libdconf-dev, libdbus-1-dev, libmagickcore-dev, libsqlite3-dev, librpm-dev, libegl-dev, libglx-dev, ocl-icd-opencl-dev, libpulse-dev, libdrm-dev, libddcutil-dev, libchafa-dev, directx-headers-dev, pkgconf, cmake (>= 3.12), debhelper (>= 11.2), dh-cmake, dh-cmake-compat (= 1), dh-sequence-cmake, dh-sequence-ctest, ninja-build
66
Standards-Version: 4.0.0
77
Homepage: https://github.com/fastfetch-cli/fastfetch
88

debian/files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fastfetch_2.51.0_source.buildinfo universe/utils optional
1+
fastfetch_2.52.0_source.buildinfo universe/utils optional

doc/json_schema.json

Lines changed: 104 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,17 +2307,60 @@
23072307
"const": "disk"
23082308
},
23092309
"folders": {
2310-
"type": "string",
2311-
"description": "A colon (semicolon on Windows) separated list of folder paths for the disk output\nDefault: auto detection using mount-points\nThis option overrides other `show*` options"
2310+
"description": "A list of folder paths for the disk output\nDefault: auto detection using mount-points\nThis option overrides other `show*` options",
2311+
"oneOf": [
2312+
{
2313+
"type": "string",
2314+
"description": "A colon (semicolon on Windows) separated list of folder paths to get disk usage from",
2315+
"default": "/"
2316+
},
2317+
{
2318+
"type": "array",
2319+
"description": "An array of folder paths to get disk usage from",
2320+
"items": {
2321+
"type": "string"
2322+
},
2323+
"minItems": 1,
2324+
"uniqueItems": true
2325+
}
2326+
]
23122327
},
23132328
"hideFolders": {
2314-
"type": "string",
2315-
"description": "A colon (semicolon on Windows) separated list of folder paths to hide from the disk output",
2329+
"description": "A list of folder paths to hide from the disk output",
2330+
"oneOf": [
2331+
{
2332+
"type": "string",
2333+
"description": "A colon (semicolon on Windows) separated list of folder paths to hide from the disk output"
2334+
},
2335+
{
2336+
"type": "array",
2337+
"description": "An array of folder paths to hide from the disk output",
2338+
"items": {
2339+
"type": "string"
2340+
},
2341+
"minItems": 1,
2342+
"uniqueItems": true
2343+
}
2344+
],
23162345
"default": "/efi:/boot:/boot/efi:/boot/firmware"
23172346
},
23182347
"hideFS": {
2319-
"type": "string",
2320-
"description": "A colon separated file systems to hide from the disk output"
2348+
"description": "A list of file systems to hide from the disk output",
2349+
"oneOf": [
2350+
{
2351+
"type": "string",
2352+
"description": "A colon separated list of file systems to hide from the disk output"
2353+
},
2354+
{
2355+
"type": "array",
2356+
"description": "An array of file systems to hide from the disk output",
2357+
"items": {
2358+
"type": "string"
2359+
},
2360+
"minItems": 1,
2361+
"uniqueItems": true
2362+
}
2363+
]
23212364
},
23222365
"showRegular": {
23232366
"type": "boolean",
@@ -2593,6 +2636,15 @@
25932636
"const": "gamepad",
25942637
"description": "List connected gamepads"
25952638
},
2639+
"ignores": {
2640+
"type": "array",
2641+
"description": "An array of case-insensitive device name prefixes to ignore",
2642+
"items": {
2643+
"type": "string"
2644+
},
2645+
"minItems": 1,
2646+
"uniqueItems": true
2647+
},
25962648
"percent": {
25972649
"$ref": "#/$defs/percent"
25982650
},
@@ -2852,6 +2904,15 @@
28522904
"const": "keyboard",
28532905
"description": "List (connected) keyboards"
28542906
},
2907+
"ignores": {
2908+
"type": "array",
2909+
"description": "An array of case-insensitive device name prefixes to ignore",
2910+
"items": {
2911+
"type": "string"
2912+
},
2913+
"minItems": 1,
2914+
"uniqueItems": true
2915+
},
28552916
"key": {
28562917
"$ref": "#/$defs/key"
28572918
},
@@ -2920,7 +2981,32 @@
29202981
},
29212982
"showIpv6": {
29222983
"description": "Show IPv6 addresses",
2923-
"type": "boolean",
2984+
"oneOf": [
2985+
{
2986+
"const": true,
2987+
"description": "Show the most useful IPv6 addresses"
2988+
},
2989+
{
2990+
"const": false,
2991+
"description": "Do not show IPv6 addresses"
2992+
},
2993+
{
2994+
"const": "gua",
2995+
"description": "Show only global unicast IPv6 addresses (2000::/3)"
2996+
},
2997+
{
2998+
"const": "ula",
2999+
"description": "Show only unique local IPv6 addresses (fc00::/7)"
3000+
},
3001+
{
3002+
"const": "lla",
3003+
"description": "Show only link-local IPv6 addresses (fe80::/10)"
3004+
},
3005+
{
3006+
"const": "unknown",
3007+
"description": "Show only IPv6 addresses that are not gua, ula or lla"
3008+
}
3009+
],
29243010
"default": false
29253011
},
29263012
"showSpeed": {
@@ -3150,6 +3236,15 @@
31503236
"const": "mouse",
31513237
"description": "List connected mouses"
31523238
},
3239+
"ignores": {
3240+
"type": "array",
3241+
"description": "An array of case-insensitive device name prefixes to ignore",
3242+
"items": {
3243+
"type": "string"
3244+
},
3245+
"minItems": 1,
3246+
"uniqueItems": true
3247+
},
31533248
"key": {
31543249
"$ref": "#/$defs/key"
31553250
},
@@ -3687,8 +3782,8 @@
36873782
"description": "Set the color of the separator line",
36883783
"$ref": "#/$defs/outputColor"
36893784
},
3690-
"length": {
3691-
"description": "Set the length of the separator line, or 0 to auto-detect",
3785+
"times": {
3786+
"description": "Set the times of separator string to repeat, or 0 to auto-detect",
36923787
"type": "integer",
36933788
"minimum": 0,
36943789
"default": 0

presets/examples/29.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #1887
22
{
3-
"$schema": "file:///Users/carter/fastfetch/doc/json_schema.json",
3+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
44
"logo": null,
55
"display": {
66
"constants": [

presets/examples/30.jsonc

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
3+
"logo": null,
4+
"display": {
5+
"key": {
6+
"type": "both",
7+
"paddingLeft": 6,
8+
"width": 17
9+
}
10+
},
11+
"modules": [
12+
{
13+
"type": "custom",
14+
"format": "|---------------------: {#1}Hardware{#} : ---------------------|"
15+
},
16+
"break",
17+
{
18+
"keyColor": "green",
19+
"type": "host"
20+
},
21+
{
22+
"keyColor": "green",
23+
"type": "cpu"
24+
},
25+
{
26+
"keyColor": "yellow",
27+
"type": "memory"
28+
},
29+
{
30+
"keyColor": "yellow",
31+
"type": "swap"
32+
},
33+
{
34+
"type": "custom",
35+
"keyIcon": "",
36+
"key": "Disks"
37+
},
38+
{
39+
"type": "disk",
40+
"key": " ",
41+
"format": " [{mountpoint}] - {size-used} / {size-total} ({size-percentage})"
42+
},
43+
"break",
44+
{
45+
"type": "title",
46+
"format": "|-------------------------------------------------------|\u001b[40D: {#1}{user-name} @ {host-name}{#} :"
47+
},
48+
"break",
49+
{
50+
"type": "os",
51+
"keyColor": "cyan"
52+
},
53+
{
54+
"type": "kernel",
55+
"keyColor": "cyan"
56+
},
57+
{
58+
"type": "packages",
59+
"keyColor": "red",
60+
"key": "Pkgs"
61+
},
62+
{
63+
"type": "shell",
64+
"keyColor": "red"
65+
},
66+
{
67+
"type": "terminal",
68+
"key": "Term",
69+
"keyColor": "red"
70+
},
71+
{
72+
"type": "locale",
73+
"keyColor": "magenta"
74+
},
75+
"break",
76+
{
77+
"type": "custom",
78+
"format": "|---------------------: {#1}Software{#} : ---------------------|"
79+
},
80+
"break",
81+
{
82+
"type": "colors",
83+
"symbol": "circle",
84+
"paddingLeft": 8
85+
}
86+
]
87+
}

src/3rdparty/mk_wcwidch/repo.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)