Description
General description of bug:
- What happened:
When trying to format the output of the wifi module, I found myself unable to custom output the {signal-quality}. I expected "100%" but instead I got "2.54639e-313".
When not formatting the Wifi string and using the default format for the module, the signal quality displays correctly ("100%").
{signal-quality-bar}
still seems to work correctly, this only seems to affect the {signal-quality}
percentage display, as far as I can tell.
-
What should happen:
fastfetch --wifi-format {7}
/fastfetch --wifi-format {signal-quality}
should output the signal quality, in percentage, in the Wifi module when the user tries to format manually. -
Fastfetch version used:
%fastfetch -v
fastfetch 2.22.0 (aarch64) -
Did it work in an older version:
Unknown -
Where did you get the binary:
Github Release -
Does this issue still occur in the latest dev build?
Unknown, I can't build from source.
Often helpful information:
The content of the configuration file you use (if any):
N/A. This happens if the format is set via config AND/OR via command line.
Output of fastfetch -c ci.jsonc --format json
View
[
{
"type": "Title",
"result": {
"userName": "tormaale",
"hostName": "XGX9XDWVRP",
"homeDir": "/Users/tormaale/",
"exePath": "/Users/tormaale/Local/TormApplications/bin/fastfetch",
"userShell": "/bin/zsh"
},
"stat": 0.0020000040531158447
},
{
"type": "Separator",
"error": "Unsupported for JSON format",
"stat": 0.0
},
{
"type": "OS",
"result": {
"buildID": "23G93",
"codename": "Sonoma",
"id": "macos",
"idLike": "",
"name": "macOS",
"prettyName": "macOS",
"variant": "",
"variantID": "",
"version": "14.6.1",
"versionID": "14.6.1"
},
"stat": 0.09599998593330383
},
{
"type": "Host",
"result": {
"family": "Mac14,7",
"name": "MacBook Pro (13-inch, M2, 2022)",
"version": "",
"sku": "",
"vendor": "Apple Inc.",
"serial": "REDACTED",
"uuid": "REDACTED"
},
"stat": 0.11900001764297485
},
{
"type": "Bios",
"result": {
"date": "Thu Jul 11 18:53:31 PDT 2024",
"release": "",
"vendor": "Apple Inc.",
"version": "10151.140.19",
"type": "iBoot"
},
"stat": 0.3409999907016754
},
{
"type": "Bootmgr",
"result": {
"name": "iBoot",
"firmware": "/System/Library/CoreServices/boot.efi",
"secureBoot": false
},
"stat": 0.008000016212463379
},
{
"type": "Board",
"result": {
"name": "J493AP",
"vendor": "Apple Inc.",
"version": "",
"serial": ""
},
"stat": 0.039000004529953
},
{
"type": "Chassis",
"error": "Not supported on this platform",
"stat": 0.0009999871253967285
},
{
"type": "Kernel",
"result": {
"architecture": "arm64",
"name": "Darwin",
"release": "23.6.0",
"version": "Darwin Kernel Version 23.6.0: Mon Jul 29 21:16:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8112",
"displayVersion": "",
"pageSize": 16384
},
"stat": 0.0020000040531158447
},
{
"type": "InitSystem",
"result": {
"name": "launchd",
"exe": "/sbin/launchd",
"version": "7.0.0",
"pid": 1
},
"stat": 5.202999979257584
},
{
"type": "Uptime",
"result": {
"uptime": 196950078,
"bootTime": "2024-08-31T17:58:01.739-0400"
},
"stat": 0.29500001668930054
},
{
"type": "Loadavg",
"result": [
2.796875,
2.25927734375,
2.26806640625
],
"stat": 0.006000012159347534
},
{
"type": "Processes",
"result": 743,
"stat": 0.06299999356269836
},
{
"type": "Packages",
"error": "No packages from known package managers found",
"stat": 0.04099997878074646
},
{
"type": "Shell",
"result": {
"exe": "zsh",
"exeName": "zsh",
"exePath": "/bin/zsh",
"pid": 57350,
"ppid": 57346,
"processName": "zsh",
"prettyName": "zsh",
"version": "5.9",
"tty": 16
},
"stat": 4.70100000500679
},
{
"type": "Editor",
"result": {
"type": "Visual",
"name": "/usr/bin/nvim",
"path": "/usr/bin/nvim",
"version": ""
},
"stat": 0.02799999713897705
},
{
"type": "Display",
"result": [
{
"id": 1,
"name": "Color LCD",
"primary": true,
"output": {
"width": 3360,
"height": 2100
},
"scaled": {
"width": 1680,
"height": 1050
},
"physical": {
"width": 286,
"height": 179
},
"refreshRate": 60.0,
"rotation": 0,
"bitDepth": 10,
"hdrEnabled": false,
"type": "Builtin"
}
],
"stat": 48.877000004053116
},
{
"type": "Brightness",
"result": [
{
"name": "Color LCD",
"max": 1.0,
"min": 0.0,
"current": 0.35959723591804504
}
],
"stat": 0.4309999942779541
},
{
"type": "Monitor",
"result": [
{
"hdrCompatible": true,
"name": "Color LCD",
"resolution": {
"width": 2560,
"height": 1600
},
"physical": {
"height": 179,
"width": 286
},
"refreshRate": 60.0,
"manufactureDate": null,
"serial": 4251086178
}
],
"stat": 6.032000005245209
},
{
"type": "LM",
"error": "Not supported on this platform",
"stat": 0.0010000169277191162
},
{
"type": "DE",
"result": {
"processName": "",
"prettyName": "Aqua",
"version": ""
},
"stat": 0.0020000040531158447
},
{
"type": "WM",
"result": {
"processName": "WindowServer",
"prettyName": "Quartz Compositor",
"protocolName": "",
"pluginName": ""
},
"stat": 0.0009999871253967285
},
{
"type": "WMTheme",
"result": "Multicolor (Dark)",
"stat": 0.09000000357627869
},
{
"type": "Theme",
"error": "Not supported on this platform",
"stat": 0.0020000040531158447
},
{
"type": "Icons",
"error": "Not supported on this platform",
"stat": 0.0
},
{
"type": "Font",
"result": {
"display": ".AppleSystemUIFont [System], Helvetica [User]",
"fonts": [
".AppleSystemUIFont",
"Helvetica",
".AppleSystemUIFontMonospaced",
"Menlo"
]
},
"stat": 2.1469999849796295
},
{
"type": "Cursor",
"result": {
"theme": "Fill - Black, Outline - White",
"size": "32"
},
"stat": 0.07899999618530273
},
{
"type": "Wallpaper",
"result": "/Users/[email protected]/Pictures/Wallpapers/Bloop/Used/",
"stat": 137.30600002408028
},
{
"type": "Terminal",
"result": {
"processName": "iTermServer-3.5.",
"exe": "/Users/tormaale/Library/Application Support/iTerm2/iTermServer-3.5.4",
"exeName": "iTermServer-3.5.4",
"exePath": "/Users/tormaale/Library/Application Support/iTerm2/iTermServer-3.5.4",
"pid": 70045,
"ppid": 70038,
"prettyName": "iTerm",
"version": "3.5.4",
"tty": ""
},
"stat": 0.04499998688697815
},
{
"type": "TerminalFont",
"result": {
"font": {
"name": "SFMono-Regular",
"size": "11",
"styles": [],
"pretty": "SFMono-Regular (11pt)"
},
"fallback": {
"name": "SFMonoNerdFontComplete-Regular",
"size": "12",
"styles": [],
"pretty": "SFMonoNerdFontComplete-Regular (12pt)"
}
},
"stat": 1.6500000059604645
},
{
"type": "TerminalSize",
"result": {
"columns": 165,
"rows": 71,
"width": 1680,
"height": 1026
},
"stat": 7.9670000076293945
},
{
"type": "TerminalTheme",
"result": {
"fg": {
"r": 255,
"g": 255,
"b": 255,
"dark": false
},
"bg": {
"r": 0,
"g": 0,
"b": 0,
"dark": true
}
},
"stat": 26.60199999809265
},
{
"type": "CPU",
"result": {
"cpu": "Apple M2",
"vendor": "Apple",
"cores": {
"physical": 8,
"logical": 8,
"online": 8
},
"frequency": {
"base": 0,
"max": 3504,
"biosLimit": 0
},
"coreTypes": [
{
"count": 4,
"freq": 2
},
{
"count": 4,
"freq": 1
}
],
"temperature": 40.77550070626395
},
"stat": 4.631999999284744
},
{
"type": "CPUCache",
"result": {
"l1": [
{
"size": 196608,
"num": 4,
"lineSize": 0,
"type": "instruction"
},
{
"size": 131072,
"num": 4,
"lineSize": 0,
"type": "data"
},
{
"size": 131072,
"num": 4,
"lineSize": 0,
"type": "instruction"
},
{
"size": 65536,
"num": 4,
"lineSize": 0,
"type": "data"
}
],
"l2": [
{
"size": 16777216,
"num": 1,
"lineSize": 0,
"type": "unified"
},
{
"size": 4194304,
"num": 1,
"lineSize": 0,
"type": "unified"
}
]
},
"stat": 0.02399998903274536
},
{
"type": "CPUUsage",
"result": [
55.00000000000001,
52.38095238095239,
50.0,
50.0,
70.0,
55.00000000000001,
40.0,
30.0
],
"stat": 200.63500002026558
},
{
"type": "GPU",
"result": [
{
"coreCount": 10,
"coreUsage": 23.0,
"memory": {
"dedicated": {
"total": null,
"used": null
},
"shared": {
"total": 3305193472,
"used": 455999488
}
},
"driver": "com.apple.AGXG14G",
"name": "Apple M2",
"temperature": 39.1015625,
"type": "Integrated",
"vendor": "Apple",
"platformApi": "Metal 3",
"frequency": 1398,
"deviceId": 4294968377
}
],
"stat": 10.145999997854233
},
{
"type": "Memory",
"result": {
"total": 17179869184,
"used": 13888962560
},
"stat": 0.01199999451637268
},
{
"type": "PhysicalMemory",
"result": [
{
"size": 17179869184,
"maxSpeed": 0,
"runningSpeed": 0,
"type": "LPDDR5",
"locator": "",
"formFactor": "",
"vendor": "Hynix",
"serial": "",
"partNumber": "",
"ecc": false
}
],
"stat": 119.23800000548363
},
{
"type": "Swap",
"result": {
"total": 2147483648,
"used": 666632192
},
"stat": 0.0059999823570251465
},
{
"type": "Disk",
"result": [
{
"bytes": {
"available": 115789262848,
"free": 115789262848,
"total": 494384795648,
"used": 378595532800
},
"files": {
"total": 1131158995,
"used": 404475
},
"filesystem": "apfs",
"mountpoint": "/",
"mountFrom": "/dev/disk3s1s1",
"name": "Macintosh HD",
"volumeType": [
"Regular",
"Read-only"
],
"createTime": "2024-08-04T06:31:41.000-0400"
},
{
"bytes": {
"available": 361005056,
"free": 361005056,
"total": 3990880256,
"used": 3629875200
},
"files": {
"total": 3707484,
"used": 182044
},
"filesystem": "apfs",
"mountpoint": "/Library/Developer/CoreSimulator/Volumes/tvOS_20L494",
"mountFrom": "/dev/disk7s1",
"name": "tvOS_20L494",
"volumeType": [
"Hidden",
"Read-only"
],
"createTime": "2023-03-16T00:20:15.810-0400"
},
{
"bytes": {
"available": 271093760,
"free": 271093760,
"total": 4152360960,
"used": 3881267200
},
"files": {
"total": 2936035,
"used": 288635
},
"filesystem": "apfs",
"mountpoint": "/Library/Developer/CoreSimulator/Volumes/watchOS_20T253",
"mountFrom": "/dev/disk5s1",
"name": "watchOS_20T253",
"volumeType": [
"Hidden",
"Read-only"
],
"createTime": "2023-03-15T03:38:24.290-0400"
},
{
"bytes": {
"available": 115789258752,
"free": 115789258752,
"total": 494384795648,
"used": 378595536896
},
"files": {
"total": 1133301889,
"used": 2547409
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/Data",
"mountFrom": "/dev/disk3s5",
"name": "Data",
"volumeType": [
"Hidden"
],
"createTime": "2022-10-18T09:18:44.113-0400"
},
{
"bytes": {
"available": 505569280,
"free": 505569280,
"total": 524288000,
"used": 18718720
},
"files": {
"total": 4937270,
"used": 70
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/Hardware",
"mountFrom": "/dev/disk1s3",
"name": "Hardware",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T14:48:17.726-0500"
},
{
"bytes": {
"available": 115785986048,
"free": 115785986048,
"total": 494384795648,
"used": 378598809600
},
"files": {
"total": 1130723673,
"used": 1153
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/Preboot",
"mountFrom": "/dev/disk3s2",
"name": "Preboot",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T14:48:16.722-0500"
},
{
"bytes": {
"available": 115791613952,
"free": 115791613952,
"total": 494384795648,
"used": 378593181696
},
"files": {
"total": 1130777532,
"used": 52
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/Update",
"mountFrom": "/dev/disk3s4",
"name": "Update",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T14:48:18.937-0500"
},
{
"bytes": {
"available": 115791613952,
"free": 115791613952,
"total": 494384795648,
"used": 378593181696
},
"files": {
"total": 1130777482,
"used": 2
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/VM",
"mountFrom": "/dev/disk3s6",
"name": "VM",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T15:02:59.021-0500"
},
{
"bytes": {
"available": 505569280,
"free": 505569280,
"total": 524288000,
"used": 18718720
},
"files": {
"total": 4937232,
"used": 32
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/iSCPreboot",
"mountFrom": "/dev/disk1s1",
"name": "iSCPreboot",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T14:48:17.414-0500"
},
{
"bytes": {
"available": 505569280,
"free": 505569280,
"total": 524288000,
"used": 18718720
},
"files": {
"total": 4937201,
"used": 1
},
"filesystem": "apfs",
"mountpoint": "/System/Volumes/xarts",
"mountFrom": "/dev/disk1s2",
"name": "xarts",
"volumeType": [
"Hidden"
],
"createTime": "2022-12-10T14:48:17.569-0500"
}
],
"stat": 0.10600000619888306
},
{
"type": "Battery",
"result": [
{
"capacity": 87.0,
"manufacturer": "Apple Inc.",
"manufactureDate": "2022-10-15",
"modelName": "bq20z451",
"status": "AC connected, Charging",
"technology": "Lithium",
"serial": "D862446A23RL3L2E2",
"temperature": null,
"cycleCount": 203
}
],
"stat": 0.3850000202655792
},
{
"type": "PowerAdapter",
"result": [
{
"description": "pd charger",
"manufacturer": "Apple Inc.",
"modelName": "0x1656",
"name": "87W USB-C Power Adapter",
"serial": "C04736206AXGW85B5",
"watts": 86
}
],
"stat": 0.1849999725818634
},
{
"type": "Player",
"error": "MRMediaRemoteGetNowPlayingInfo() failed",
"stat": 2.229000002145767
},
{
"type": "Media",
"error": "MRMediaRemoteGetNowPlayingInfo() failed",
"stat": 0.0010000169277191162
},
{
"type": "PublicIp",
"result": {
"ip": "REDACTED",
"location": "New York City, US"
},
"stat": 0.058999985456466675
},
{
"type": "LocalIp",
"result": [
{
"defaultRoute": true,
"ipv4": "REDACTED",
"ipv6": "REDACTED",
"mac": "REDACTED",
"name": "en0",
"mtu": 1500,
"speed": -1
}
],
"stat": 0.07700002193450928
},
{
"type": "DNS",
"result": [
"REDACTED",
"REDACTED"
],
"stat": 0.038999974727630615
},
{
"type": "Wifi",
"result": [
{
"inf": {
"description": "en0",
"status": "Power On"
},
"conn": {
"status": "Active",
"ssid": "REDACTED",
"bssid": "REDACTED",
"protocol": "802.11ac (Wi-Fi 5)",
"security": "WPA2 Personal",
"signalQuality": 100.0,
"rxRate": null,
"txRate": 866.0
}
}
],
"stat": 35.29800000786781
},
{
"type": "DateTime",
"result": "2024-09-03T00:40:32.427-0400",
"stat": 0.01199999451637268
},
{
"type": "Locale",
"result": "en_US.UTF-8",
"stat": 0.0020000040531158447
},
{
"type": "Vulkan",
"error": "dlopen libvulkan.dylib failed",
"stat": 0.18299999833106995
},
{
"type": "OpenGL",
"result": {
"version": "4.1 Metal - 88.1",
"renderer": "Apple M2",
"vendor": "Apple",
"slv": "4.10",
"library": "CGL 1.2"
},
"stat": 31.493000000715256
},
{
"type": "OpenCL",
"result": {
"version": "1.2 (Jun 28 2024 22:57:48)",
"name": "Apple",
"vendor": "Apple",
"gpus": [
{
"type": "Integrated",
"vendor": "Apple",
"name": "Apple M2",
"driver": "1.0",
"platformApi": "OpenCL 1.2",
"coreCount": 10,
"frequency": 1000,
"memory": {
"dedicated": {
"total": null,
"used": null
},
"shared": {
"total": 11453251584,
"used": null
}
},
"deviceId": 16940800
}
]
},
"stat": 0.01299998164176941
},
{
"type": "Users",
"result": [
{
"name": "REDACTED",
"hostName": "",
"sessionName": "console",
"clientIp": "",
"loginTime": "2024-08-31T18:06:32.027-0400"
}
],
"stat": 0.08500000834465027
},
{
"type": "Bluetooth",
"result": [
{
"address": "4c-87-5d-a1-80-6f",
"battery": 0,
"connected": false,
"name": "1",
"type": "Audio/Video"
},
{
"address": "ac-12-2f-3f-d2-43",
"battery": 0,
"connected": false,
"name": "2",
"type": "Audio/Video"
},
{
"address": "e8-ee-cc-b2-b5-32",
"battery": 0,
"connected": false,
"name": "3",
"type": "Audio/Video"
},
{
"address": "fb-15-74-41-83-7d",
"battery": 0,
"connected": false,
"name": "4",
"type": "Miscellaneous"
},
{
"address": "f8-ff-c2-08-6a-70",
"battery": 0,
"connected": false,
"name": "5",
"type": "Miscellaneous"
}
],
"stat": 47.287999987602234
},
{
"type": "BluetoothRadio",
"result": [
{
"name": "REDACTED",
"address": "REDACTED",
"lmpVersion": -11,
"lmpSubversion": null,
"vendor": "Apple",
"enabled": true,
"discoverable": false,
"connectable": true
}
],
"stat": 78.00300002098083
},
{
"type": "Sound",
"result": [
{
"active": true,
"main": true,
"volume": null,
"name": "MacBook Pro Speakers",
"identifier": "74"
}
],
"stat": 87.09000000357628
},
{
"type": "Camera",
"result": [
{
"name": "FaceTime HD Camera",
"vendor": "Apple Inc.",
"colorSpace": "sRGB",
"id": "REDACTED",
"width": 1280,
"height": 720
}
],
"stat": 32.016999989748
},
{
"type": "Gamepad",
"result": [],
"stat": 0.16500002145767212
},
{
"type": "Weather",
"result": "+70°F - Clear (New York, New York, United States)",
"stat": 0.08899998664855957
},
{
"type": "NetIO",
"result": [
{
"name": "en0",
"defaultRoute": true,
"txBytes": 64512,
"rxBytes": 15360,
"txPackets": 87,
"rxPackets": 85,
"rxErrors": 0,
"txErrors": 0,
"rxDrops": 0,
"txDrops": 0
}
],
"stat": 113.0789999961853
},
{
"type": "DiskIO",
"result": [
{
"name": "APPLE SSD AP0512Z Media",
"devPath": "/dev/disk0",
"bytesRead": 5697536,
"bytesWritten": 1363968,
"readCount": 258,
"writeCount": 152
},
{
"name": "Apple Disk Image Media",
"devPath": "/dev/disk4",
"bytesRead": 0,
"bytesWritten": 0,
"readCount": 0,
"writeCount": 0
},
{
"name": "Apple Disk Image Media",
"devPath": "/dev/disk6",
"bytesRead": 0,
"bytesWritten": 0,
"readCount": 0,
"writeCount": 0
}
],
"stat": 0.550000011920929
},
{
"type": "PhysicalDisk",
"result": [
{
"name": "APPLE SSD AP0512Z Media",
"devPath": "/dev/disk0",
"interconnect": "Apple Fabric",
"kind": "SSD",
"size": 500277792768,
"serial": "REDACTED",
"removable": false,
"readOnly": false,
"revision": "373.140.",
"temperature": 32.0
},
{
"name": "Apple Disk Image Media",
"devPath": "/dev/disk4",
"interconnect": "Virtual Interface",
"kind": null,
"size": 4152395264,
"serial": "REDACTED",
"removable": true,
"readOnly": true,
"revision": "276.120.7",
"temperature": null
},
{
"name": "Apple Disk Image Media",
"devPath": "/dev/disk6",
"interconnect": "Virtual Interface",
"kind": null,
"size": 3990914560,
"serial": "REDACTED",
"removable": true,
"readOnly": true,
"revision": "276.120.7",
"temperature": null
}
],
"stat": 3.030000001192093
},
{
"type": "Version",
"result": {
"projectName": "fastfetch",
"sysName": "Darwin",
"architecture": "aarch64",
"version": "2.22.0",
"versionGit": "",
"cmakeBuiltType": "RelWithDebInfo",
"compileTime": "Aug 26 2024, 02:43:32",
"compiler": "Apple clang 14.0.0 (14000029)",
"debugMode": false,
"libc": "libSystem 1311.120.1"
},
"stat": 0.0009999871253967285
},
{
"type": "Break",
"error": "Unsupported for JSON format",
"stat": 0.0010000169277191162
},
{
"type": "Colors",
"error": "Unsupported for JSON format",
"stat": 0.0
]
Output of fastfetch -c ci.jsonc --format json
View
threads
vulkan
imagemagick7
chafa
zlib
sqlite3
If fastfatch crashed or froze
N/A