Commit f668700
Add fastfetch binary: system information fetcher (#69)
* Initial plan
* Add fastfetch binary: system information fetcher
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
* Use fs.cwd().openFile for absolute paths (Zig 0.15 API)
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
* feat(fastfetch): Show detailed system info for Linux and macOS
Expand fastfetch output with host model, disk usage, display resolution,
battery, and theme. Add cross-platform C imports and correct framework
linking on macOS. Improve CPU, memory, and uptime reporting to show more
details and handle both Linux and macOS OS-specific fields.
This change allows users to quickly view comprehensive hardware and OS
information, motivating the update to facilitate troubleshooting and
system inventory.
* docs(programs): add fastfetch introduction and usage guide
Introduce documentation for fastfetch, including usage examples, key
features, and output demonstration. This provides new and existing users
with a clear overview of fastfetch's capabilities and platform support,
enhancing accessibility and understanding without requiring inspection
of the source code.
* feat(build): extend compile blacklist to include fastfetch
Add "fastfetch" to the build blacklist to prevent compilation on
non-Darwin systems. This change ensures platform-specific targets are
handled consistently and avoids build errors caused by unsupported
executables.
* feat(resolution): Display refresh rate in resolution output
Show monitor refresh rate in resolution info on macOS,
providing users a more accurate overview of display settings.
Improves UX for those needing detailed screen specs.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jiacai2050 <3848910+jiacai2050@users.noreply.github.com>
Co-authored-by: jiacai2050 <dev@liujiacai.net>1 parent 8263179 commit f668700
3 files changed
Lines changed: 709 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
203 | | - | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| |||
244 | 247 | | |
245 | 248 | | |
246 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
247 | 261 | | |
248 | 262 | | |
249 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
0 commit comments