Carter Li
56f4dc00a2
Logo (Spin): adds a logo that turns in step with --watch
...
The builtin logo, or a text file in logo syntax, drawn as an extruded slab:
the front is the art as it is, the back is the art mirrored, and the side
walls are shaded with block glyphs. Rendering is pure: no terminal, no
input, no timer.
`--logo-type spin` hands every frame to the normal logo pipeline, so the
modules are laid out beside it exactly as they are for any other type, and
the first frame without --watch is byte-identical to the same art printed
as a builtin logo.
The rotation is driven by the `--watch` loop: `ffSpinTick()` runs once per
refresh and `ffLogoPrint()` is called only when it reports a step, so the
logo and the modules can never drift apart, and a build that never uses the
type costs one comparison per refresh.
Speed is set either as degrees per frame (--logo-spin-speed-per-frame,
default 10) or as seconds per revolution (--logo-spin-speed-per-round,
read from the clock and winning over the former when both are given). Both
take negative values to turn the other way, and --logo-spin-angle picks the
frame to start from.
2026-11-04 15:37:18 +08:00
Carter Li
537635cd9c
Logo: adds option logo.position: auto
2026-09-25 09:51:34 +08:00
Carter Li
c26bace3c2
Global: fixes a lot bugs found by AI
2026-09-22 22:09:26 +08:00
李通洲
7f3209181e
Global: adds general cache layer
2026-09-22 00:45:40 +08:00
李通洲
256c6a4257
PublicIP / Weather: fixes possible can only be used once due to internal limitations error
2026-09-21 20:08:11 +08:00
李通洲
02dc6a4428
Modules: adds * to format args which are available in key format
2026-09-15 22:24:18 +08:00
Carter Li
d5214af189
Global: fixes British spellings and typos found by AI
2026-08-31 13:44:19 +08:00
Carter Li
e7642ea3a2
GenConfig: honors -s set by users
2026-08-04 23:34:15 +08:00
李通洲
3f8d141313
GenConfig: disables the feature on Win 8.1; improves redraw logic
2026-08-04 21:05:07 +08:00
Carter Li
6d795a3572
Fastfetch: adds interactive --gen-config mode
...
removes `--gen-config-*` flags (merged into `--gen-config`)
2026-08-04 15:32:44 +08:00
Carter Li
2c736697d2
Watch: adds -w/--watch as a seconds-based alias for --dynamic-interval
...
Closes #2478
2026-07-28 10:52:04 +08:00
李通洲
61656a1a7a
Global: replaces __attribute__ to C23 [[attribute]]
2026-07-11 08:14:21 +08:00
李通洲
ba18705d2e
Global: replaces NULL to nullptr
2026-07-10 18:10:09 +08:00
李通洲
b49f0b3d9c
Fastfetch: improves error message for config errors
2026-06-19 20:19:50 +08:00
Carter Li
70061625f7
Chore: adds FF_A_COLD
2026-06-08 10:38:28 +08:00
Carter Li
20aabdfd78
Global: resets keysHeight after every refresh
2026-06-05 15:27:25 +08:00
Carter Li
6b9f594620
Global: prevents ascii logo from being overwritten in --dynamic-interval mode
2026-06-05 14:47:01 +08:00
Carter Li
d1bf208a92
Chore: renames stringUtils to strutil
2026-05-28 15:58:08 +08:00
李通洲
c601b68bc6
Doc: improves overall English grammer
2026-04-16 18:27:11 +08:00
Данил Голдышев
14cd933969
fix(help): align format placeholders dynamically
2026-04-05 10:32:23 +08:00
李通洲
831659966f
Style: adds Cpp11BracedListStyle: Block
2026-03-31 14:20:21 +08:00
李通洲
e0eba8ce21
Chore: run clang-format
...
```bash
find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i
```
2026-03-29 10:03:32 +08:00
李通洲
a39419b12a
Chore: tidy
2026-03-22 13:26:05 +08:00
李通洲
461552b8d0
DynamicInterval: reruns prepare code before next interval
...
Fixes #2152
2026-01-16 20:02:03 +08:00
李通洲
d3453de73c
Global: puts more fastfetch-only properties into FFdata
2026-01-15 15:06:23 +08:00
李通洲
79a11c4728
CommandOption: adds a new option --structure-disabled (WIP)
...
To disable modules temporarily
2026-01-15 10:35:21 +08:00
李通洲
b065b3da51
Global: optimises usage of FFstrbuf and FFlist
2026-01-09 20:14:00 +08:00
Carter Li
d60b25e424
Refactor: renames src/util to src/common
2026-01-06 09:48:38 +08:00
Carter Li
61690a1804
Util: moves util/io/io.h to util/io.h
2026-01-06 09:13:40 +08:00
李通洲
1e43e35857
Chore: merges common/* into util/*
2026-01-05 17:54:41 +08:00
李通洲
8652737f64
Fastfetch: enhances config file loading with support for config directory
...
Fixes #2080
2025-12-05 10:32:42 +08:00
李通洲
3e22dd4b0e
Chore: uses _WIN32 always
2025-12-03 09:26:32 +08:00
李通洲
302b8a7b1b
CommandLine: adds dynamic output refresh support with interval option
2025-11-05 10:21:05 +08:00
李通洲
bd9744c27c
CommandLine: adds --json flag as a shortcut for enabling JSON output
2025-09-28 15:07:45 +08:00
李通洲
ef3989d18d
CommandOption: refactors code with ffStrbufSeparatedContainIgnCaseS
2025-09-19 14:51:31 +08:00
Carter Li
817285ac01
Fastfetch: informs users that module-specific CLI options are no longer supported
...
... and provides guidance on transitioning to JSON config
2025-09-03 09:36:16 +08:00
李通洲
e6985a8832
Global: handles missing config directories more gracefully
2025-08-27 15:29:38 +08:00
李通洲
fae4892643
Fastfetch: improves config file generation message with tips
2025-08-23 20:37:29 +08:00
李通洲
64da80d520
Fastfetch: improves format help output for config and variables
...
Fixes #1927
2025-08-21 23:57:37 +08:00
李通洲
fa3b634c07
JsonConfig: support JSON5
2025-08-19 10:25:52 +08:00
李通洲
d4773212b7
Fastfetch: adds support for reading JSON config from stdin
2025-08-14 11:00:35 +08:00
李通洲
9ebff9fd22
Chore: removes undocumented flag --load-config
2025-08-14 10:43:22 +08:00
李通洲
146981009b
CommandLine: add --gen-config-full
2025-08-11 14:49:22 +08:00
李通洲
e753d4d3a4
Doc: remove command line flags of modules
2025-08-04 15:08:30 +08:00
李通洲
094d736d38
Modules: remove all parseCommandOptions and related stuff
2025-08-03 10:22:32 +08:00
李通洲
9cda7e20fb
Chore: simplify fastfetch.h
2025-04-14 10:28:01 +08:00
Carter Li
523a9590b8
Fastfetch: fix loading presets in {exePath}/presets
...
Regression of v2.40.0
2025-04-08 15:42:58 +08:00
李通洲
ac52ea1afb
Fastfetch: fix loading example configs from presets directory
...
Fix #1672
2025-04-05 08:42:24 +08:00
李通洲
884c902d93
Doc: migrate some help texts to Github Wiki pages
2025-04-04 18:59:15 +08:00
李通洲
3e7630e074
Fastfetch: enforce .jsonc extension when loading config file
...
Examples:
1. `-c filename`: load `filename.jsonc`
2. `-c filename.jsonc`: load `filename.jsonc`
3. `-c filename.json`: load `filename.json` and enforce strict JSON syntax (no comment and trailing comma support)
4. `-c filename.ext`: load `filename.ext.jsonc` (`jsonc` extension is enforced)
2025-04-04 14:45:48 +08:00