李通洲
|
782af250ff
|
Percent: in custom format, only set num and bar string if enabled in percent config
Also fix `percentage-bar` printing in Brightness module
|
2024-11-14 15:45:25 +08:00 |
|
李通洲
|
c9e3f8d95c
|
Global: support percent type config in module level
|
2024-11-14 13:52:02 +08:00 |
|
李通洲
|
97e1b987dd
|
Global: pack all enums and make flag enums unsigned
|
2024-11-14 11:00:44 +08:00 |
|
李通洲
|
4534f18525
|
Battery: don't print index in multi-battery device
|
2024-11-10 13:07:12 +08:00 |
|
Carter Li
|
27910cf6ec
|
Battery (Linux): calcuate time remaining with current & charge if time_to_empty is unavailable
|
2024-10-10 08:38:58 +00:00 |
|
李通洲
|
4dccb92bb2
|
Battery: support time remaining detection
|
2024-10-10 15:57:17 +08:00 |
|
李通洲
|
37cc2c9c1b
|
Globals: use generic selection when passing format args
|
2024-09-04 08:53:16 +08:00 |
|
Carter Li
|
5842ad1d56
|
Battery: print model name in key
|
2024-08-28 16:00:06 +08:00 |
|
李通洲
|
57ffe3bad2
|
Fastfetch: add icons
|
2024-07-23 23:02:35 +08:00 |
|
李通洲
|
545267bb7e
|
Percentage: support percent bar in custom formatting
Fix #1075
|
2024-07-08 15:21:12 +08:00 |
|
李通洲
|
0e597a2ded
|
Battery: fix index format with multiple batteries
|
2024-06-29 21:59:57 +08:00 |
|
Carter Li
|
c8451cab52
|
Global: support for named format arguments
Fix #796
|
2024-05-28 10:23:29 +08:00 |
|
李通洲
|
459f159b1b
|
Fastfetch: revert to module color after printing custom colors
|
2024-05-08 15:25:59 +08:00 |
|
李通洲
|
217f98a36c
|
Global: tidy json result formats
|
2024-05-03 13:56:19 +08:00 |
|
李通洲
|
7acdaebee4
|
Printing: merge ffPrintError and ffPrintErrorString
|
2024-03-07 11:10:18 +08:00 |
|
李通洲
|
6dcfb6b88f
|
Fastfetch: fully resolve the format arg num issue
Ref: #749
|
2024-03-07 10:47:28 +08:00 |
|
李通洲
|
ba60d9059f
|
Temps: support color range customization
|
2024-02-27 11:00:43 +08:00 |
|
李通洲
|
8f205b8c30
|
Percent: rename FFPercentConfig to FFColorRangeConfig
|
2024-02-27 08:32:31 +08:00 |
|
李通洲
|
a0c47204bb
|
Temp: Display: support better temperature value formatting
Fix #737
|
2024-02-26 11:09:00 +08:00 |
|
李通洲
|
d1a791b333
|
Global: make threshold of percentage colors configurable
Fix #689
|
2024-01-20 18:40:12 +08:00 |
|
李通洲
|
62ca495155
|
Percentage: prepare to make threshold configurable
|
2024-01-20 14:10:56 +08:00 |
|
李通洲
|
e7974a7cea
|
Percentage: refactor function names
|
2024-01-20 13:49:04 +08:00 |
|
李通洲
|
da5c44b3d0
|
Percentage: simplify usage of ffAppendPercentBar
|
2024-01-20 13:27:55 +08:00 |
|
李通洲
|
bd71aa931f
|
Global: rename common/bar to common/percent
|
2024-01-20 11:28:38 +08:00 |
|
李通洲
|
b3945e277c
|
Global: review code
|
2024-01-17 15:06:52 +08:00 |
|
李通洲
|
5f638a67ed
|
Battery: rename manufacturerDate to manufactureDate
|
2024-01-10 19:03:58 +08:00 |
|
李通洲
|
7926b74917
|
Battery: detect manufacturer date
|
2024-01-09 22:58:32 +08:00 |
|
李通洲
|
f4f466d4ba
|
Battery: print serial number
|
2024-01-04 16:21:19 +08:00 |
|
Carter Li
|
cd0109c382
|
Battery (Linux): remove option --battery-dir
It was added in c5c3cecb93 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 |
|
Carter Li
|
5a372882fa
|
Battery (Linux): tidy
|
2023-12-26 16:44:13 +08:00 |
|
李通洲
|
730c0d1c92
|
Fastfetch: print module description for --list-modules
|
2023-11-17 14:12:57 +08:00 |
|
李通洲
|
f5b987dba9
|
Battery (Windows): detect cycle count
|
2023-11-06 19:40:40 +08:00 |
|
李通洲
|
ae34208247
|
Battery (Windows): add flag --battery-use-setup-api
|
2023-10-30 14:49:00 +08:00 |
|
李通洲
|
399e2235d4
|
Options (Display): split code
|
2023-10-26 10:26:15 +08:00 |
|
李通洲
|
48d2dbad34
|
Battery (Linux): fix build
|
2023-10-23 18:42:40 +08:00 |
|
李通洲
|
ec87790e4f
|
Global: init support for JSON config file migration (WIP)
|
2023-10-23 16:17:07 +08:00 |
|
李通洲
|
44632e9bf6
|
Global: don't expose internal functions
|
2023-10-23 13:32:40 +08:00 |
|
李通洲
|
e7938216ba
|
Global: :%s/ffGenerate\w+Json/$0Result/g
|
2023-10-23 13:32:39 +08:00 |
|
李通洲
|
12208b2c7c
|
Global: improve support of --help *-format
Also fix some bugs found when refactoring
|
2023-10-07 13:40:40 +08:00 |
|
李通洲
|
639ad436a0
|
Global: code refactor
|
2023-09-05 15:29:46 +08:00 |
|
李通洲
|
3669f2aee4
|
Battery: rename BatteryResult to FFBatteryResult
|
2023-09-05 15:29:46 +08:00 |
|
李通洲
|
14f26879de
|
Global: init --format json support (#527)
|
2023-09-05 15:29:46 +08:00 |
|
李通洲
|
a5ee51e156
|
Global: use FF_LIST_AUTO_DESTROY
|
2023-08-29 10:49:22 +08:00 |
|
李通洲
|
326d83f25b
|
Global: fix percent formatting for --*-format
fix #535
|
2023-08-24 09:12:24 +08:00 |
|
李通洲
|
ea2a26bd57
|
Battery (Linux): fix build
|
2023-08-17 16:13:54 +08:00 |
|
李通洲
|
55b279ab09
|
JsonConfig: remove useless checks
|
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 |
|
李通洲
|
8ed28673a9
|
Global: support --module-key-width per module
|
2023-08-16 13:21:15 +08:00 |
|
李通洲
|
af2c6a832e
|
Fastfetch: add new option --temperature-unit
|
2023-07-27 15:58:49 +08:00 |
|