Skip to content

Commit 6485d34

Browse files
authored
Merge pull request #1298 from fastfetch-cli/dev
Release: v2.26.0
2 parents 9d0797c + 17c9179 commit 6485d34

Some content is hidden

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

95 files changed

+1870
-579
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: uname -a
3636

3737
- name: configure project
38-
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr . -DENABLE_VULKAN=OFF -DENABLE_WAYLAND=OFF -DENABLE_XCB_RANDR=OFF -DENABLE_XCB=OFF -DENABLE_XRANDR=OFF -DENABLE_X11=OFF -DENABLE_DRM=OFF -DENABLE_GIO=OFF -DENABLE_DCONF=OFF -DENABLE_DBUS=OFF -DENABLE_XFCONF=OFF -DENABLE_SQLITE3=OFF -DENABLE_RPM=OFF -DENABLE_IMAGEMAGICK7=OFF -DENABLE_IMAGEMAGICK6=OFF -DENABLE_CHAFA=OFF -DENABLE_ZLIB=OFF -DENABLE_EGL=OFF -DENABLE_GLX=OFF -DENABLE_OSMESA=OFF -DENABLE_OPENCL=OFF -DENABLE_FREETYPE=OFF -DENABLE_PULSE=OFF -DENABLE_DDCUTIL=OFF -DENABLE_ELF=OFF -DENABLE_DIRECTX_HEADERS=OFF -DENABLE_THREADS=OFF
38+
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr . -DENABLE_VULKAN=OFF -DENABLE_WAYLAND=OFF -DENABLE_XCB_RANDR=OFF -DENABLE_XCB=OFF -DENABLE_XRANDR=OFF -DENABLE_X11=OFF -DENABLE_DRM=OFF -DENABLE_DRM_AMDGPU=OFF -DENABLE_GIO=OFF -DENABLE_DCONF=OFF -DENABLE_DBUS=OFF -DENABLE_XFCONF=OFF -DENABLE_SQLITE3=OFF -DENABLE_RPM=OFF -DENABLE_IMAGEMAGICK7=OFF -DENABLE_IMAGEMAGICK6=OFF -DENABLE_CHAFA=OFF -DENABLE_ZLIB=OFF -DENABLE_EGL=OFF -DENABLE_GLX=OFF -DENABLE_OSMESA=OFF -DENABLE_OPENCL=OFF -DENABLE_FREETYPE=OFF -DENABLE_PULSE=OFF -DENABLE_DDCUTIL=OFF -DENABLE_ELF=OFF -DENABLE_DIRECTX_HEADERS=OFF -DENABLE_THREADS=OFF
3939

4040
- name: build project
4141
run: cmake --build . --target package --verbose -j4
@@ -74,7 +74,7 @@ jobs:
7474
run: uname -a
7575

7676
- name: install required packages
77-
run: sudo apt-get update && sudo apt-get install -y 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 libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev
77+
run: sudo apt-get update && sudo apt-get install -y 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 libosmesa6-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev directx-headers-dev python3-requests
7878

7979
- name: install linuxbrew packages
8080
run: |
@@ -87,7 +87,7 @@ jobs:
8787
languages: c
8888

8989
- name: configure project
90-
run: PKG_CONFIG_PATH=/home/linuxbrew/.linuxbrew/lib/pkgconfig:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
90+
run: PKG_CONFIG_PATH=/home/linuxbrew/.linuxbrew/lib/pkgconfig:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DCMAKE_INSTALL_PREFIX=/usr .
9191

9292
- name: build project
9393
run: cmake --build . --target package --verbose -j4
@@ -247,12 +247,12 @@ jobs:
247247
run: |
248248
cat /etc/alpine-release
249249
uname -a
250-
apk add cmake samurai vulkan-loader-dev libxcb-dev wayland-dev libdrm-dev dconf-dev imagemagick-dev chafa-dev zlib-dev dbus-dev mesa-dev opencl-dev xfconf-dev sqlite-dev networkmanager-dev pulseaudio-dev ddcutil-dev elfutils-dev gcc g++
250+
apk add cmake samurai vulkan-loader-dev libxcb-dev wayland-dev libdrm-dev dconf-dev imagemagick-dev chafa-dev zlib-dev dbus-dev mesa-dev opencl-dev xfconf-dev sqlite-dev networkmanager-dev pulseaudio-dev ddcutil-dev elfutils-dev py3-requests gcc g++
251251
shell: alpine.sh --root {0}
252252

253253
- name: build
254254
run: |
255-
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr -DIS_MUSL=ON -GNinja .
255+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr -DIS_MUSL=ON -DENABLE_EMBEDDED_PCIIDS=On -GNinja .
256256
cmake --build . --target package --verbose -j4
257257
shell: alpine.sh {0}
258258

@@ -422,8 +422,8 @@ jobs:
422422
run: |
423423
uname -a
424424
sudo pkg update
425-
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm libelf glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat
426-
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
425+
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm libelf glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py311-requests
426+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On .
427427
cmake --build . --target package --verbose -j4
428428
./fastfetch --list-features
429429
time ./fastfetch -c presets/ci.jsonc --stat false

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
# 2.26.0
2+
3+
Changes:
4+
* To be consistent to other platforms, CPU frequency detection on Linux no longer checks `bios_limit`
5+
6+
Features:
7+
* Detect GPU index (#1267, GPU)
8+
* Count Flatpak runtime packages (#1085, Packages, Linux)
9+
* Support pacstall package manager (Packages, Linux)
10+
* Support CU core count, max frequency, VMEM usage detection for AMD cards on Linux (GPU, Linux)
11+
* Requires `--gpu-driver-specific`
12+
* Support EU core count, VMEM size detection Intel cards on Linux (GPU, Linux)
13+
* Requires `--gpu-driver-specific`. VMEM usage detection requires root permissions.
14+
* Add new module `TPM` to print TPM (Trusted Platform Module) version if available (TPM)
15+
* Support GPU driver version detection (GPU, macOS)
16+
* Add new CMake option `-DENABLE_EMBEDDED_PCIIDS=ON`.
17+
* If enabled, fastfetch will download the newest [`pci.ids`](https://pci-ids.ucw.cz/) file, [transform it into C code](https://github.com/fastfetch-cli/fastfetch/blob/dev/scripts/gen-pciids.py) and compile it into fastfetch binaries.
18+
19+
Bugfixes:
20+
* Fix font size detecton of foot terminal (#1276, TerminalFont, Linux)
21+
* Ignore `su` and `sudo` when detecting terminal (#1283, Terminal, Linux)
22+
* Always print inches in integer (Display)
23+
* Fix Wifi connection protocol detection on macOS Sequoia (Wifi, macOS)
24+
* Fix hanging when font name is long when detecting kitty term font (#1289, TerminalFont)
25+
* Detect all enabled or connected connectors (#1301, Display, Linux)
26+
27+
Logos:
28+
* Add FoxOS
29+
* Add GXDE OS
30+
131
# 2.25.0
232

333
Features:

CMakeLists.txt

Lines changed: 41 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.25.0
4+
VERSION 2.26.0
55
LANGUAGES C
66
DESCRIPTION "Fast neofetch-like system information tool"
77
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
@@ -51,6 +51,7 @@ cmake_dependent_option(ENABLE_XCB "Enable xcb" ON "LINUX OR FreeBSD OR SunOS" OF
5151
cmake_dependent_option(ENABLE_XRANDR "Enable xrandr" ON "LINUX OR FreeBSD OR SunOS" OFF)
5252
cmake_dependent_option(ENABLE_X11 "Enable x11" ON "LINUX OR FreeBSD OR SunOS" OFF)
5353
cmake_dependent_option(ENABLE_DRM "Enable libdrm" ON "LINUX OR FreeBSD OR SunOS" OFF)
54+
cmake_dependent_option(ENABLE_DRM_AMDGPU "Enable libdrm_amdgpu" ON "LINUX" OFF)
5455
cmake_dependent_option(ENABLE_GIO "Enable gio-2.0" ON "LINUX OR FreeBSD OR SunOS" OFF)
5556
cmake_dependent_option(ENABLE_DCONF "Enable dconf" ON "LINUX OR FreeBSD OR SunOS" OFF)
5657
cmake_dependent_option(ENABLE_DBUS "Enable dbus-1" ON "LINUX OR FreeBSD OR SunOS" OFF)
@@ -80,6 +81,7 @@ option(BUILD_TESTS "Build tests" OFF) # Also create test executables
8081
option(SET_TWEAK "Add tweak to project version" ON) # This is set to off by github actions for release builds
8182
option(IS_MUSL "Build with musl libc" OFF) # Used by Github Actions
8283
option(INSTALL_LICENSE "Install license into /usr/share/licenses" ON)
84+
option(ENABLE_EMBEDDED_PCIIDS "Embed pci.ids into fastfetch, requires `python`" OFF)
8385

8486
set(BINARY_LINK_TYPE_OPTIONS dlopen dynamic static)
8587
set(BINARY_LINK_TYPE dlopen CACHE STRING "How to link fastfetch")
@@ -254,6 +256,16 @@ else()
254256
file(READ "src/data/help.json" DATATEXT_JSON_HELP)
255257
endif()
256258

259+
if(ENABLE_EMBEDDED_PCIIDS AND NOT EXISTS "fastfetch_pciids.c.inc")
260+
if(Python_FOUND)
261+
execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-pciids.py"
262+
OUTPUT_FILE "fastfetch_pciids.c.inc")
263+
else()
264+
message(STATUS "Python3 is not found, 'fastfetch_pciids.c.inc' will not be generated")
265+
set(ENABLE_EMBEDDED_PCIIDS OFF)
266+
endif()
267+
endif()
268+
257269
fastfetch_encode_c_string("${DATATEXT_JSON_HELP}" DATATEXT_JSON_HELP)
258270
fastfetch_load_text(src/data/structure.txt DATATEXT_STRUCTURE)
259271
fastfetch_load_text(src/data/help_footer.txt DATATEXT_HELP_FOOTER)
@@ -394,6 +406,7 @@ set(LIBFASTFETCH_SRC
394406
src/modules/terminalsize/terminalsize.c
395407
src/modules/theme/theme.c
396408
src/modules/title/title.c
409+
src/modules/tpm/tpm.c
397410
src/modules/uptime/uptime.c
398411
src/modules/users/users.c
399412
src/modules/version/version.c
@@ -412,6 +425,7 @@ set(LIBFASTFETCH_SRC
412425
src/util/base64.c
413426
src/util/FFlist.c
414427
src/util/FFstrbuf.c
428+
src/util/kmod.c
415429
src/util/path.c
416430
src/util/platform/FFPlatform.c
417431
src/util/smbiosHelper.c
@@ -480,11 +494,11 @@ if(LINUX)
480494
src/detection/gtk_qt/qt.c
481495
src/detection/sound/sound_linux.c
482496
src/detection/swap/swap_linux.c
483-
src/detection/temps/temps_linux.c
484497
src/detection/terminalfont/terminalfont_linux.c
485498
src/detection/terminalshell/terminalshell_linux.c
486499
src/detection/terminalsize/terminalsize_linux.c
487500
src/detection/theme/theme_linux.c
501+
src/detection/tpm/tpm_linux.c
488502
src/detection/uptime/uptime_linux.c
489503
src/detection/users/users_linux.c
490504
src/detection/wallpaper/wallpaper_linux.c
@@ -544,11 +558,11 @@ elseif(ANDROID)
544558
src/detection/processes/processes_linux.c
545559
src/detection/sound/sound_nosupport.c
546560
src/detection/swap/swap_linux.c
547-
src/detection/temps/temps_linux.c
548561
src/detection/terminalfont/terminalfont_android.c
549562
src/detection/terminalshell/terminalshell_linux.c
550563
src/detection/terminalsize/terminalsize_linux.c
551564
src/detection/theme/theme_nosupport.c
565+
src/detection/tpm/tpm_nosupport.c
552566
src/detection/uptime/uptime_linux.c
553567
src/detection/users/users_linux.c
554568
src/detection/wallpaper/wallpaper_nosupport.c
@@ -625,11 +639,11 @@ elseif(FreeBSD)
625639
src/detection/gtk_qt/qt.c
626640
src/detection/sound/sound_bsd.c
627641
src/detection/swap/swap_bsd.c
628-
src/detection/temps/temps_bsd.c
629642
src/detection/terminalfont/terminalfont_linux.c
630643
src/detection/terminalshell/terminalshell_linux.c
631644
src/detection/terminalsize/terminalsize_linux.c
632645
src/detection/theme/theme_linux.c
646+
src/detection/tpm/tpm_bsd.c
633647
src/detection/uptime/uptime_bsd.c
634648
src/detection/users/users_linux.c
635649
src/detection/wallpaper/wallpaper_linux.c
@@ -691,11 +705,11 @@ elseif(APPLE)
691705
src/detection/processes/processes_bsd.c
692706
src/detection/sound/sound_apple.c
693707
src/detection/swap/swap_apple.c
694-
src/detection/temps/temps_apple.c
695708
src/detection/terminalfont/terminalfont_apple.m
696709
src/detection/terminalshell/terminalshell_linux.c
697710
src/detection/terminalsize/terminalsize_linux.c
698711
src/detection/theme/theme_nosupport.c
712+
src/detection/tpm/tpm_nosupport.c
699713
src/detection/uptime/uptime_bsd.c
700714
src/detection/users/users_linux.c
701715
src/detection/wallpaper/wallpaper_apple.m
@@ -707,6 +721,7 @@ elseif(APPLE)
707721
src/detection/zpool/zpool_nosupport.c
708722
src/util/apple/cf_helpers.c
709723
src/util/apple/osascript.m
724+
src/util/apple/smc_temps.c
710725
src/util/platform/FFPlatform_unix.c
711726
src/util/binary_apple.c
712727
)
@@ -726,6 +741,7 @@ elseif(WIN32)
726741
src/detection/btrfs/btrfs_nosupport.c
727742
src/detection/chassis/chassis_windows.c
728743
src/detection/cpu/cpu_windows.c
744+
src/detection/cpu/cpu_windows.cpp
729745
src/detection/cpucache/cpucache_windows.c
730746
src/detection/cpuusage/cpuusage_windows.c
731747
src/detection/cursor/cursor_windows.c
@@ -760,8 +776,8 @@ elseif(WIN32)
760776
src/detection/terminalfont/terminalfont_windows.c
761777
src/detection/terminalshell/terminalshell_windows.c
762778
src/detection/terminalsize/terminalsize_windows.c
763-
src/detection/temps/temps_windows.cpp
764779
src/detection/theme/theme_nosupport.c
780+
src/detection/tpm/tpm_windows.c
765781
src/detection/uptime/uptime_windows.c
766782
src/detection/users/users_windows.c
767783
src/detection/wallpaper/wallpaper_windows.c
@@ -846,6 +862,7 @@ elseif(SunOS)
846862
src/detection/terminalshell/terminalshell_linux.c
847863
src/detection/terminalsize/terminalsize_linux.c
848864
src/detection/theme/theme_linux.c
865+
src/detection/tpm/tpm_nosupport.c
849866
src/detection/uptime/uptime_sunos.c
850867
src/detection/users/users_linux.c
851868
src/detection/wallpaper/wallpaper_linux.c
@@ -1038,6 +1055,10 @@ ff_lib_enable(DRM
10381055
"libdrm"
10391056
"Libdrm"
10401057
)
1058+
ff_lib_enable(DRM_AMDGPU
1059+
"libdrm_amdgpu"
1060+
"Libdrm_Amdgpu"
1061+
)
10411062
ff_lib_enable(GIO
10421063
"gio-2.0"
10431064
"GIO"
@@ -1133,18 +1154,29 @@ if(ENABLE_LIBZFS)
11331154
endif()
11341155
endif()
11351156

1136-
11371157
if(ENABLE_THREADS)
1138-
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_THREADS)
1158+
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_THREADS=1)
11391159
if(CMAKE_USE_PTHREADS_INIT) #Threads::Threads is not set for WIN32
11401160
target_link_libraries(libfastfetch PRIVATE Threads::Threads)
11411161
endif()
11421162
endif()
11431163

1164+
if(ENABLE_EMBEDDED_PCIIDS)
1165+
target_compile_definitions(libfastfetch PRIVATE FF_HAVE_EMBEDDED_PCIIDS=1)
1166+
endif()
1167+
11441168
if(LINUX)
11451169
target_link_libraries(libfastfetch
11461170
PRIVATE "m"
11471171
)
1172+
1173+
if(ENABLE_DIRECTX_HEADERS)
1174+
if(NOT BINARY_LINK_TYPE STREQUAL "dlopen")
1175+
target_link_libraries(libfastfetch
1176+
PRIVATE "/usr/lib/wsl/lib/libdxcore.so"
1177+
)
1178+
endif()
1179+
endif()
11481180
elseif(APPLE)
11491181
target_link_libraries(libfastfetch
11501182
PRIVATE "-framework AVFoundation"
@@ -1168,7 +1200,7 @@ elseif(APPLE)
11681200
PRIVATE "-weak_framework Apple80211"
11691201
)
11701202
elseif(WIN32)
1171-
target_compile_definitions(libfastfetch PRIVATE -D_WIN32_WINNT=0x0601)
1203+
target_compile_definitions(libfastfetch PRIVATE -D_WIN32_WINNT=0x0A00)
11721204
target_link_libraries(libfastfetch
11731205
PRIVATE "dwmapi"
11741206
PRIVATE "gdi32"

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ Fastfetch uses `format` to generate output. For example, to make the `GPU` modul
152152
"modules": [
153153
{
154154
"type": "gpu",
155-
"format": "{2}" // See `fastfetch -h gpu-format` for detail
155+
"format": "{name}" // See `fastfetch -h gpu-format` for detail
156156
}
157157
]
158158
}
159159
```
160160

161-
. . which is equivalent to `fastfetch -s gpu --gpu-format '{2}'`
161+
. . which is equivalent to `fastfetch -s gpu --gpu-format '{name}'`
162162

163163
See `fastfetch -h format` for information on basic usage. For module specific formattion, see `fastfetch -h <module>-format`
164164

@@ -186,6 +186,10 @@ You can always use `fastfetch --pipe false` to force fastfetch running in colorf
186186

187187
See [#1096](https://github.com/fastfetch-cli/fastfetch/issues/1096).
188188

189+
### Q: I use Debian / Ubuntu / Debian deserved distro. My GPU is detected as `XXXX Device XXXX (VGA compatible)`. Is it a bug?
190+
191+
See [#1282](https://github.com/fastfetch-cli/fastfetch/issues/1282)
192+
189193
### Q: I want feature A / B / C. Will fastfetch support it?
190194

191195
Fastfetch is a system information tool. We only accept hardware or system level software feature requests. For most personal uses, I recommend using `Command` module to detect it yourself, which can be used to grab output from a custom shell script:
@@ -210,6 +214,13 @@ Otherwise, open a feature request in [GitHub Issues](https://github.com/fastfetc
210214
* For usage questions, please start a discussion in [GitHub Discussions](https://github.com/fastfetch-cli/fastfetch/discussions).
211215
* For possible bugs, please open an issue in [GitHub Issues](https://github.com/fastfetch-cli/fastfetch/issues). Be sure to fill the bug-report template carefully for developers to investigate.
212216

217+
## Donate
218+
219+
If you find Fastfetch to be useful, please consider donating.
220+
221+
* Current maintainer: [@CarterLi](https://paypal.me/zhangsongcui)
222+
* Original author: [@LinusDierheimer](https://github.com/sponsors/LinusDierheimer)
223+
213224
## Star History
214225

215226
Give it a star to support us!

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fastfetch (2.25.0) jammy; urgency=medium
2+
3+
* Update to 2.25.0
4+
5+
-- Carter Li <[email protected]> Thu, 19 Sep 2024 10:28:38 +0800
6+
17
fastfetch (2.24.0) jammy; urgency=medium
28

39
* Update to 2.24.0

debian/files

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

doc/json_schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@
706706
"terminaltheme",
707707
"title",
708708
"theme",
709+
"tpm",
709710
"uptime",
710711
"users",
711712
"version",
@@ -865,6 +866,10 @@
865866
"const": "theme",
866867
"description": "Print current theme of desktop environment"
867868
},
869+
{
870+
"const": "tpm",
871+
"description": "Print info of Trusted Platform Module (TPM) Security Device"
872+
},
868873
{
869874
"const": "uptime",
870875
"description": "Print how long system has been running"

presets/all.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
"type": "physicaldisk",
9898
"temp": true
9999
},
100+
"tpm",
100101
"version",
101102
"break",
102103
"colors"

presets/ci.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
"type": "physicaldisk",
100100
"temp": true
101101
},
102+
"tpm",
102103
"version",
103104
"break",
104105
"colors"

presets/examples/24.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
{
8989
"type": "disk",
9090
"key": "{#90}{$1}│ {#91}Disk {#90}│",
91-
"format": "{$2}{$3}{size-used} / {size-used} ({size-percentage}{$2})"
91+
"format": "{$2}{$3}{size-used} / {size-total} ({size-percentage}{$2})"
9292
},
9393
{
9494
"type": "poweradapter",

0 commit comments

Comments
 (0)