李通洲
bd5b385909
Flashfetch: disable decimal digits in Disk module
2025-08-14 13:32:21 +08:00
李通洲
75d2c668d0
Modules: refactor module option handling for static allocation
...
Moves module option structs out of global config and removes dynamic allocation, using static buffers and size assertions for safer, simpler management.
Refactors module initialization and destruction to work with isolated option structs, eliminating the need for the previous modules container and related code.
Unifies module option header usage and updates detection logic to leverage statically-sized option buffers, improving encapsulation and maintainability.
Simplifies module function signatures and reduces coupling between modules and config.
Enhances future extensibility and reliability by enforcing max size constraints and removing unnecessary indirections.
2025-08-04 14:46:01 +08:00
李通洲
9cda7e20fb
Chore: simplify fastfetch.h
2025-04-14 10:28:01 +08:00
李通洲
b257134d74
Chore: introduce macro ARRAY_SIZE
2024-10-18 16:44:41 +08:00
kojq
898859cc7a
Flashfetch: add the skipped "host" option from "Flashfetch: simplify implementation" ( #770 )
2024-04-02 22:36:20 +08:00
Marius Messerschmidt
ad5be0f0c2
Spelling: fix spelling of files in remaining files
2023-11-18 15:47:22 +01:00
李通洲
8e9c571293
Flashfetch: simplify implementation
2023-11-13 16:36:25 +08:00
李通洲
3b319f0a1e
Global: add missing changes
2023-11-05 13:25:54 +08:00
李通洲
3c5b002414
Options (Modules): split code
2023-10-25 15:38:46 +08:00
李通洲
c888254f70
Modules: major code refactor
...
Also fix some bugs found when refactoring
2023-08-17 16:10:02 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
Carter Li
ba45229db0
Colors: support --colors-symbol
2023-06-18 14:03:29 +08:00
李通洲
3227eee080
Processes: add JSON config
2023-06-10 09:15:15 +08:00
李通洲
0021219f42
Chassis: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
e3ec136cad
Theme: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
db98e406c2
Weather: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
7f9ff587ce
PublicIP: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
a4a801d83a
Player: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
fde86657f2
Media: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
969c787ff8
Users: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
748a67d47a
Vulkan: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
692dd841e3
OpenCL: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
e484c6cdfc
OpenGL: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
d731051cb7
WM: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
11d8142cea
DE: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
a3524c3af1
Icons: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
823f773e26
PowerAdapter: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
100ce5844d
TerminalFont: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
13ae9aff44
Terminal: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
786d538276
Shell: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
fa28529308
Packages: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
f3190b8979
Memory / Swap: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
31241b64d8
WMTheme: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
a4c8b93a07
Uptime: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
2df1305521
Sound: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
0b96818f6d
Locale: add JSON config support
2023-06-10 09:15:15 +08:00
李通洲
3526092b38
Font: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
623557f521
Disk: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
2359b7e2f4
GPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
83dda3e8ab
Cursor: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
305533a0d4
CpuUsage: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
f205982ae5
CPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
5f3154acc6
Board: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
ae08966d40
Bios: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
169785a8bb
Kernel: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
9c066e9494
Host: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
04180a7389
Display: init support of JSON config
2023-06-10 09:15:15 +08:00
李通洲
da5da85c07
Title: init support of JSON config
2023-06-10 09:15:15 +08:00
李通洲
0ab2eda0ae
Separator: init support of JSON config
2023-06-10 09:15:15 +08:00
李通洲
4e3e469ba8
Battery: major code refactoring
...
ditto
2023-06-10 09:15:15 +08:00