Skip to content

Commit a99b6d6

Browse files
authored
Merge pull request #1897 from fastfetch-cli/dev
Release: v2.50.0
2 parents ba8a211 + 4092115 commit a99b6d6

File tree

363 files changed

+5601
-6690
lines changed

Some content is hidden

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

363 files changed

+5601
-6690
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
steps:
1212
- name: checkout repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414

1515
- name: Install codespell
1616
shell: bash
@@ -29,7 +29,7 @@ jobs:
2929
contents: read
3030
steps:
3131
- name: checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333

3434
- name: uname -a
3535
run: uname -a
@@ -68,7 +68,7 @@ jobs:
6868
ffversion: ${{ steps.ffversion.outputs.ffversion }}
6969
steps:
7070
- name: checkout repository
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v5
7272

7373
- name: uname -a
7474
run: uname -a
@@ -137,7 +137,7 @@ jobs:
137137
contents: read
138138
steps:
139139
- name: checkout repository
140-
uses: actions/checkout@v4
140+
uses: actions/checkout@v5
141141

142142
- name: uname -a
143143
run: uname -a
@@ -198,7 +198,7 @@ jobs:
198198
contents: read
199199
steps:
200200
- name: checkout repository
201-
uses: actions/checkout@v4
201+
uses: actions/checkout@v5
202202

203203
- name: run VM
204204
uses: uraimo/run-on-arch-action@v3
@@ -237,7 +237,7 @@ jobs:
237237
contents: read
238238
steps:
239239
- name: checkout repository
240-
uses: actions/checkout@v4
240+
uses: actions/checkout@v5
241241

242242
- name: run VM
243243
uses: uraimo/run-on-arch-action@v3
@@ -273,7 +273,7 @@ jobs:
273273
contents: read
274274
steps:
275275
- name: checkout repository
276-
uses: actions/checkout@v4
276+
uses: actions/checkout@v5
277277

278278
- name: run VM
279279
uses: uraimo/run-on-arch-action@v3
@@ -308,7 +308,7 @@ jobs:
308308
contents: read
309309
steps:
310310
- name: checkout repository
311-
uses: actions/checkout@v4
311+
uses: actions/checkout@v5
312312

313313
- name: run VM
314314
uses: uraimo/run-on-arch-action@v3
@@ -343,7 +343,7 @@ jobs:
343343
contents: read
344344
steps:
345345
- name: checkout repository
346-
uses: actions/checkout@v4
346+
uses: actions/checkout@v5
347347

348348
- name: run VM
349349
uses: uraimo/run-on-arch-action@v3
@@ -374,7 +374,7 @@ jobs:
374374
name: Musl-amd64
375375
runs-on: ubuntu-latest
376376
steps:
377-
- uses: actions/checkout@v4
377+
- uses: actions/checkout@v5
378378

379379
- name: setup alpine linux
380380
uses: jirutka/setup-alpine@master
@@ -416,7 +416,7 @@ jobs:
416416
contents: read
417417
steps:
418418
- name: checkout repository
419-
uses: actions/checkout@v4
419+
uses: actions/checkout@v5
420420

421421
- name: uname -a
422422
run: uname -a
@@ -463,7 +463,7 @@ jobs:
463463
contents: read
464464
steps:
465465
- name: checkout repository
466-
uses: actions/checkout@v4
466+
uses: actions/checkout@v5
467467

468468
- name: uname -a
469469
run: uname -a
@@ -507,7 +507,7 @@ jobs:
507507
name: SunOS-amd64
508508
steps:
509509
- name: checkout repository
510-
uses: actions/checkout@v4
510+
uses: actions/checkout@v5
511511

512512
- name: run VM
513513
uses: vmactions/omnios-vm@v1
@@ -543,7 +543,7 @@ jobs:
543543
contents: read
544544
steps:
545545
- name: checkout repository
546-
uses: actions/checkout@v4
546+
uses: actions/checkout@v5
547547

548548
- name: run VM
549549
uses: cross-platform-actions/action@master
@@ -580,7 +580,7 @@ jobs:
580580
contents: read
581581
steps:
582582
- name: checkout repository
583-
uses: actions/checkout@v4
583+
uses: actions/checkout@v5
584584

585585
- name: run VM
586586
uses: cross-platform-actions/action@master
@@ -616,7 +616,7 @@ jobs:
616616
contents: read
617617
steps:
618618
- name: checkout repository
619-
uses: actions/checkout@v4
619+
uses: actions/checkout@v5
620620

621621
- name: run VM
622622
uses: cross-platform-actions/action@master
@@ -653,7 +653,7 @@ jobs:
653653
contents: read
654654
steps:
655655
- name: checkout repository
656-
uses: actions/checkout@v4
656+
uses: actions/checkout@v5
657657

658658
- name: run VM
659659
uses: vmactions/dragonflybsd-vm@v1
@@ -688,7 +688,7 @@ jobs:
688688
contents: read
689689
steps:
690690
- name: checkout repository
691-
uses: actions/checkout@v4
691+
uses: actions/checkout@v5
692692

693693
- name: run VM
694694
uses: cross-platform-actions/action@master
@@ -700,7 +700,7 @@ jobs:
700700
shell: bash
701701
run: |
702702
uname -a
703-
pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10
703+
pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 || pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10
704704
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
705705
cmake --build . --target package --verbose -j4
706706
./fastfetch --list-features
@@ -726,7 +726,7 @@ jobs:
726726
shell: msys2 {0}
727727
steps:
728728
- name: checkout repository
729-
uses: actions/checkout@v4
729+
uses: actions/checkout@v5
730730

731731
- name: setup-msys2
732732
uses: msys2/setup-msys2@v2
@@ -788,7 +788,7 @@ jobs:
788788
shell: msys2 {0}
789789
steps:
790790
- name: checkout repository
791-
uses: actions/checkout@v4
791+
uses: actions/checkout@v5
792792

793793
- name: setup-msys2
794794
uses: msys2/setup-msys2@v2

CHANGELOG.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# 2.50.0
2+
3+
Changes:
4+
* Keys in JSON configuration files are now case-sensitive, as stated in v2.49.0.
5+
* This is a breaking change, but it should not affect most users as long as your config file passes JSON schema validation.
6+
* All module config flags have been removed, as stated in v2.49.0.
7+
* To configure modules via the command line, use: `echo '{"modules": [{"type":"custom","format":"Hello Fastfetch!"}]}' | fastfetch -c -`.
8+
* The percent bar config `display.bar.*` options have been replaced with a more organized, nested object structure.
9+
* `display.bar.charElapsed` has been renamed to `display.bar.char.elapsed`.
10+
* `display.bar.charTotal` has been renamed to `display.bar.char.total`.
11+
* `display.bar.borderLeft` has been renamed to `display.bar.border.left`.
12+
* `display.bar.borderRight` has been renamed to `display.bar.border.right`.
13+
* The undocumented flag `--load-config` has been removed.
14+
* Use `--config` or `-c` instead.
15+
* Flashfetch, a simplified fastfetch variant that used a hardcoded module list with direct function calls to reduce startup overhead, has been changed to a version that aims to match neofetch's behavior as closely as possible, for demonstration purposes.
16+
* Flashfetch is intended to be built from source (like [st](https://st.suckless.org/)). We do not provide prebuilt binaries in distributions.
17+
18+
Features:
19+
* Added support for reading JSON config from stdin using `--config -` or `-c -`.
20+
* Added `display.bar.border.{leftElapsed,rightElapsed}` for using the border as part of the bar content. (#1875)
21+
* `display.bar.border: null` has been added as a shorthand to disable bar borders.
22+
* Added `display.bar.color.{elapsed,total,border}` to customize the color of the elapsed, total, and border sections of the percent bar.
23+
* `display.bar.color: null` has been added as a shorthand to disable bar colors.
24+
* Improved Bedrock Linux detection (#1881, OS / Disk, Linux)
25+
* Added the command flag `--gen-config-full`, which generates a JSON config file containing all optional module options.
26+
* Improved the default IP address display when `localip.showAllIPs` is not set (LocalIP)
27+
* For IPv4, the preferred source address (if detected) is shown.
28+
* For IPv6, the first GUA or ULA that is not deprecated or temporary is shown.
29+
* Added support for interface speed detection on SunOS (LocalIP, SunOS)
30+
* Added detection support for Xlibre (#1888, WM, Linux)
31+
* Improved the accuracy of color detection (Cursor, macOS)
32+
* Improved the proformance of `Nix` package manager detection on macOS by porting optimizations form Linux port (#1893, Packages, macOS)
33+
34+
Bugfixes:
35+
* Fixed custom object inheriting a key from the previous custom object if the key is blank (#1477)
36+
* Fixed a possible segfault when parsing color strings in the JSON config (#1878)
37+
* Fixed GPU driver detection when DRM is used (GPU, FreeBSD)
38+
* Fixed default route detection on DragonFly BSD (LocalIP, DFBSD)
39+
* Fixed lliurex detection (#1882, OS, Linux)
40+
* Fixed compatibility with `-ffast-math` (#1894)
41+
* Fixed physical GPU sometimes being ignored (#1896, GPU, Windows)
42+
43+
Logos:
44+
* Added ObsidianOS (#1890)
45+
146
# 2.49.0
247

348
Deprecation Notice:
@@ -26,8 +71,8 @@ Features:
2671
* Add `--{duration,percent,size,freq,temp}-space-before-unit [always|never]` options to add a space before the unit when printing duration, percent, size, frequency and temperature values
2772
* Add `--duration-abbreviation` to abbreviate duration values in custom format
2873
* For example: `1 day, 2 hours, 3 mins` will be displayed as `1d 2h 3m`
29-
* Add `--percent-with` to pad the percent value with spaces to a fixed width
30-
* For example: `--percent-with 3` will display ` 50%` instead of `50%`; useful for aligning percent values in custom format
74+
* Add `--percent-width` to pad the percent value with spaces to a fixed width
75+
* For example: `--percent-width 3` will display ` 50%` instead of `50%`; useful for aligning percent values in custom format
3176

3277
Bugfixes:
3378
* Improve accuracy of Flatpak count detection (#1856, Packages, Linux)

CMakeLists.txt

Lines changed: 5 additions & 4 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.49.0
4+
VERSION 2.50.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -474,7 +474,6 @@ set(LIBFASTFETCH_SRC
474474
src/modules/wmtheme/wmtheme.c
475475
src/modules/zpool/zpool.c
476476
src/options/display.c
477-
src/options/modules.c
478477
src/options/logo.c
479478
src/options/general.c
480479
src/util/edidHelper.c
@@ -548,6 +547,7 @@ if(LINUX)
548547
src/detection/opengl/opengl_linux.c
549548
src/detection/os/os_linux.c
550549
src/detection/packages/packages_linux.c
550+
src/detection/packages/packages_nix.c
551551
src/detection/poweradapter/poweradapter_linux.c
552552
src/detection/processes/processes_linux.c
553553
src/detection/gtk_qt/qt.c
@@ -896,7 +896,7 @@ elseif(OpenBSD)
896896
elseif(APPLE)
897897
list(APPEND LIBFASTFETCH_SRC
898898
src/common/io/io_unix.c
899-
src/common/netif/netif_bsd.c
899+
src/common/netif/netif_apple.c
900900
src/common/networking/networking_linux.c
901901
src/common/processing_linux.c
902902
src/common/sysctl.c
@@ -940,6 +940,7 @@ elseif(APPLE)
940940
src/detection/opengl/opengl_apple.c
941941
src/detection/os/os_apple.m
942942
src/detection/packages/packages_apple.c
943+
src/detection/packages/packages_nix.c
943944
src/detection/poweradapter/poweradapter_apple.c
944945
src/detection/processes/processes_bsd.c
945946
src/detection/sound/sound_apple.c
@@ -1042,7 +1043,7 @@ elseif(SunOS)
10421043
list(APPEND LIBFASTFETCH_SRC
10431044
src/common/dbus.c
10441045
src/common/io/io_unix.c
1045-
src/common/netif/netif_bsd.c
1046+
src/common/netif/netif_apple.c
10461047
src/common/networking/networking_linux.c
10471048
src/common/processing_linux.c
10481049
src/detection/battery/battery_nosupport.c

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Some distributions package outdated versions of fastfetch. Older versions receiv
3636
<img src="https://repology.org/badge/vertical-allrepos/fastfetch.svg?columns=2" alt="Packaging status" align="right">
3737
</a>
3838

39-
* Ubuntu: [`ppa:zhangsongcui3371/fastfetch`](https://launchpad.net/~zhangsongcui3371/+archive/ubuntu/fastfetch) (for Ubuntu 22.04 or newer)
4039
* Debian: `apt install fastfetch` (for Debian 13 or newer)
4140
* Debian / Ubuntu: Download `fastfetch-linux-<proper architecture>.deb` from [Github release page](https://github.com/fastfetch-cli/fastfetch/releases/latest) and double-click it (for Ubuntu 20.04 or newer and Debian 11 or newer).
4241
* Arch Linux: `pacman -S fastfetch`
@@ -58,7 +57,7 @@ If fastfetch is not packaged for your distribution or an outdated version is pac
5857

5958
### macOS
6059

61-
* [HomeBrew](https://formulae.brew.sh/formula/fastfetch#default): `brew install fastfetch`
60+
* [Homebrew](https://formulae.brew.sh/formula/fastfetch#default): `brew install fastfetch`
6261
* [MacPorts](https://ports.macports.org/port/fastfetch/): `sudo port install fastfetch`
6362

6463
### Windows
@@ -95,7 +94,8 @@ See the Wiki: https://github.com/fastfetch-cli/fastfetch/wiki/Building
9594
* Run with [all supported modules](https://github.com/fastfetch-cli/fastfetch/wiki/Support+Status#available-modules) to find what interests you: `fastfetch -c all.jsonc`
9695
* View all data that fastfetch detects: `fastfetch -s <module1>[:<module2>][:<module3>] --format json`
9796
* Display help messages: `fastfetch --help`
98-
* Generate a config file based on command line arguments: `fastfetch --arg1 --arg2 --gen-config`
97+
* Generate a minimal config file: `fastfetch [-s <module1>[:<module2>]] --gen-config [</path/to/config.jsonc>]`
98+
* Use: `--gen-config-full` to generate a full config file with all optional options
9999

100100
## Customization
101101

debian/changelog

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

39
* Update to 2.48.0

debian/files

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

0 commit comments

Comments
 (0)