77 Commits

Author SHA1 Message Date
李通洲
d1a791b333 Global: make threshold of percentage colors configurable
Fix #689
2024-01-20 18:40:12 +08:00
李通洲
b3945e277c
Global: review code 2024-01-17 15:06:52 +08:00
李通洲
9f77851176
JsonSchema: make it a valid json document 2024-01-17 14:08:31 +08:00
李通洲
d578f1006c Host / Chassis (Windows): remove options --*-use-wmi 2024-01-06 17:11:26 +08:00
李通洲
21f3875c4f Host (Windows): detect serial number and UUID 2024-01-06 17:11:25 +08:00
Carter Li
cd0109c382 Battery (Linux): remove option --battery-dir
It was added in c5c3cecb935b86713e2b1fef741b9cf7ee2acccc but there was no comment or issues linked to indicate why it was necessary.

`/sys/class/power_supply` is standardized in <https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power>. I don't I want to support non-standard platform unless proper reason is given
2024-01-04 14:18:33 +08:00
李通洲
d5997b9f29
Doc: document --physicaldisk-temp 2023-12-27 10:16:33 +08:00
李通洲
f8be6322df
GPU: rename use-nvml to driver-specific
Because we are supporting drivers other than NVML
2023-12-20 15:32:55 +08:00
李通洲
e8326306f8
Doc: add module physical disk 2023-12-18 15:53:15 +08:00
李通洲
8048101eca
Doc: fix documentation of --ds-force-drm 2023-12-14 16:13:05 +08:00
李通洲
a28dc8a9bf DisplayServer (Linux): support --ds-force-drm sysfs-only 2023-12-11 13:25:58 +08:00
李通洲
67f4b991d7
DisplayServer (Linux): use libdrm
Which correctly detects current mode ( instead of preferred mode ) and
supports refresh rate
2023-11-30 10:47:03 +08:00
李通洲
6c492882a3
Doc: fix some bugs 2023-11-20 14:27:03 +08:00
Marius Messerschmidt
57e734e628 Spelling: fix typo in Manpage 2023-11-18 15:48:02 +01:00
Marius Messerschmidt
647403fc30
Add manpage (#625)
* Manpage: add initial manpage template

* CMake: integrate manpage installation to CMake

* Manpage: add details about JSONC based config files

* Manpage: minor cleanups

* Manpage: fix --print-structure

* Manpage: fix --structure

* help: change load-config -> config

* Manpage: remove legacy config file description

* Manpage: remove --print-config- commands

* help: remove --print-config- commands

* Manpage: change migrate-config to gen-config

* Manpage: add -h as shortcut for help

* Manpage: escaped all '-'
2023-11-18 22:18:08 +08:00
李通洲
730c0d1c92
Fastfetch: print module description for --list-modules 2023-11-17 14:12:57 +08:00
李通洲
aae66aa966
Logo (Image): fix spelling of --preserve-aspect-ratio
Fix #614
2023-11-07 08:49:22 +08:00
李通洲
3b319f0a1e
Global: add missing changes 2023-11-05 13:25:54 +08:00
李通洲
0ffbb8c364
Doc: update help messages 2023-11-02 14:11:06 +08:00
李通洲
b6e759f3a2
LocalIP / NetIO: make defaultRouteOnly defaults to true 2023-10-31 19:53:25 +08:00
李通洲
a16851f5de
JsonConfig: update json schema; change most title to description 2023-10-31 15:47:55 +08:00
李通洲
b99f444234
Global: remove --allow-slow-operations 2023-10-31 14:10:21 +08:00
李通洲
cd07354b6f
Doc: update changelog and other docs 2023-10-31 09:50:54 +08:00
李通洲
ae34208247
Battery (Windows): add flag --battery-use-setup-api 2023-10-30 14:49:00 +08:00
李通洲
b462006280
Chassis (Windows): add flag --chassis-use-wmi 2023-10-30 14:31:19 +08:00
李通洲
485bcbf054
GPU: add flag --gpu-use-nvml 2023-10-30 13:46:51 +08:00
李通洲
3a84a1a5fa
Packages (Windows): add option --packages-winget 2023-10-29 19:37:31 +08:00
李通洲
627d5fc659 JsonConfig: restructure some keys 2023-10-29 00:17:24 +08:00
李通洲
63032cd840 Doc: update help.txt 2023-10-28 23:02:28 +08:00
李通洲
6c82686283
Migration (Display): support display options 2023-10-26 13:55:21 +08:00
李通洲
bed1b4cf0f
Global: move general options to a new separate folder 2023-10-25 13:39:13 +08:00
李通洲
e9c2a43de1 Brightness: add --brightness-ddcci-sleep to set the sleep times (in ms) when sending DDC/CI requests
Fix #580
2023-10-14 10:04:08 +08:00
李通洲
0847432dd9 CPUUsage: rename cpuusage-display-type to separate 2023-10-10 19:02:42 +08:00
李通洲
42f6d029b0
Doc: update JSON schema; make it more IDE friendly 2023-10-09 20:27:40 +08:00
李通洲
ccbb252466
DiskIO: update doc and json schema 2023-10-09 19:24:25 +08:00
李通洲
78249bf4f7
CPU: add new option --cpu-freq-ndigits
Fix #578
2023-10-08 10:10:06 +08:00
李通洲
154657b455
NetUsage: rename to NetIO 2023-09-27 00:06:11 +08:00
李通洲
b29b78b321
NetUsage: finish module 2023-09-26 23:00:31 +08:00
李通洲
3c7903cc14 JsonSchema: add processingTimeout 2023-09-15 19:06:32 +08:00
李通洲
fc61f64630
Logo: add --logo-separate true 2023-09-03 22:20:11 +08:00
李通洲
33f121d7fb
JsonSchema: fix the name of property defaultRouteOnly 2023-09-03 19:01:52 +08:00
李通洲
32d6436027 Disk: add --disk-show-readonly 2023-08-26 13:43:33 +08:00
李通洲
7358326a13 Disk: add --disk-use-available
fix #543
2023-08-26 13:43:13 +08:00
李通洲
b1ac31f590
Global: add option --percent-ndigits 2023-08-24 09:35:17 +08:00
李通洲
f23384725f
Version: add new module 2023-08-21 09:19:16 +08:00
李通洲
e5e4c8bf88
Fastfetch: refactor command line option parsing code
1. improve performance
2. remove `-c`
3. rename `--recache` to `--logo-recache`, and remove `-r`
2023-08-17 16:10:05 +08:00
李通洲
c888254f70
Modules: major code refactor
Also fix some bugs found when refactoring
2023-08-17 16:10:02 +08:00
李通洲
a0c4f2febd
Global: support --bar-width 2023-08-16 16:51:41 +08:00
李通洲
559bca4223
Global: add --bar-char-elapsed, --bar-char-total and --bar-border options 2023-08-16 14:41:56 +08:00
李通洲
8ed28673a9
Global: support --module-key-width per module 2023-08-16 13:21:15 +08:00