2165 Commits

Author SHA1 Message Date
李通洲
fa28529308 Packages: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
2f5c198a81 Wifi: 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
李通洲
dab5dbf759 DateTime: remove redundant function definitions 2023-06-10 09:15:15 +08:00
李通洲
a4c8b93a07 Uptime: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
51bc06f60b Uptime: code refactor 2023-06-10 09:15:15 +08:00
李通洲
39582471e8 Global: major FFlist related code refactor 2023-06-10 09:15:15 +08:00
李通洲
6d002c175f FFstrbuf: fix building on Windows 2023-06-10 09:15:15 +08:00
李通洲
c7119498a3 Global: major FFstrbuf related code refactor 2023-06-10 09:15:15 +08:00
李通洲
2df1305521 Sound: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
7e85db6843 LocalIP: add JSON config support 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
李通洲
8dc443f827 Gamepad: 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
李通洲
9addc016fb CMake: fix char case issue 2023-06-10 09:15:15 +08:00
李通洲
e3e8c689ed Custom: support JSON module
Note: old command options `--set` and `--set-keyless` were removed. To reuse custom module, JSON config must be used.
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
李通洲
0f3fa38c04 TerminalFont: fix Windows Terminal detection 2023-06-10 09:15:15 +08:00
李通洲
f205982ae5 CPU: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
9209ac5773 Colors: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
ff721218f5 JsonConfig: simplify code 2023-06-10 09:15:15 +08:00
李通洲
dca9ce4b2d JsonConfig: refactor to get rid of data-ffjson_* 2023-06-10 09:15:15 +08:00
李通洲
5f52c64d4d JsonConfig: code simplify 2023-06-10 09:15:15 +08:00
李通洲
5da3127344 Brightness: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
010330ac90 Break: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
5f3154acc6 Board: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
fb2004a6f9 Bluetooth: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
e812380f20 Logo: move logo command line option parser to a separate file
Prepare for JSON config support
2023-06-10 09:15:15 +08:00
李通洲
ae08966d40 Bios: support JSON config 2023-06-10 09:15:15 +08:00
李通洲
76da3d811c Modules: remove unnecessary #include 2023-06-10 09:15:15 +08:00
李通洲
0377793102 JsonConfig: use .jsonc as config file extension
to prevent text editors from confusing
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
李通洲
da81111575 DateTime: init support of JSON config
Redundant modules `Date` and `Time` are removed
2023-06-10 09:15:15 +08:00
李通洲
c5dcf522c4 JsonConfig: make it a special module 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
李通洲
4cf130bd07 Fastfetch: rename FFinstance::separator to keyValueSeparator, because it's conflicted against Separator module 2023-06-10 09:15:15 +08:00
李通洲
161c4ac028 OS: init support of JSON config 2023-06-10 09:15:15 +08:00
李通洲
d4549d6849 Command: init support of JSON config 2023-06-10 09:15:15 +08:00
李通洲
790ca460d4 Battery: init support of JSON config 2023-06-10 09:15:15 +08:00
李通洲
cbaeed7e8e Command: major code refactoring
ditto; and multi-command support was removed in favor of JSON config
support
2023-06-10 09:15:15 +08:00
李通洲
4e3e469ba8 Battery: major code refactoring
ditto
2023-06-10 09:15:15 +08:00
李通洲
6cb073e6a5 OS: major code refactoring
Split `fastfetch.h` to make it possible to print OS module with different options
2023-06-10 09:15:15 +08:00
李通洲
de2a346601 Revert "Deps: revert changes of JSON parse library"
This reverts commit ccb0f853db6974212776f4654893b240d95b71ac.
2023-06-10 09:15:15 +08:00