李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
李通洲
581c6f547d
Swap: split code out from memory detection
...
1. Since swap module is disabled by default, swap detection is unnecessary in most cases.
2. On platform other than Linux, swap detection doesn't share code with memory.
3. Swap detection can be expensive. On Windows, it requires another WMI query which can lag heavily in some cases. Don't pay for you don't use.
2022-10-19 00:24:17 +08:00
李通洲
65ed48a1bc
Swap: prints Disabled instead of 0 B / 0 B (0%) which seems a bug
2022-09-21 18:10:50 +08:00
Linus Dierheimer
a9cb178315
Better error messages for memory & swap
2022-09-20 15:12:24 +02:00
Linus Dierheimer
be7f8f4117
Swap module
...
#225
2022-09-08 14:51:31 +02:00
Linus Dierheimer
6a44515cf2
Separate memory detection and printing logic
2022-09-05 10:57:09 +02:00
Linus Dierheimer
f4ee8667b1
Binary prefix option
2022-08-26 16:02:04 +02:00
Linus Dierheimer
952989c1e8
Show huge ram values in GiB
...
#218
2022-08-23 13:53:12 +02:00
Linus Dierheimer
536f914f3e
Refactor: move printing functions to own header
2022-07-25 13:15:01 +02:00
Linus Dierheimer
fe71291769
Clean up includes
2022-06-18 14:25:31 +02:00
Linus Dierheimer
6e3e717224
--<module>-error options
2022-06-17 18:15:36 +02:00
Linus Dierheimer
ea44231c78
Don't prepend proc with TARGET_DIR_ROOT
...
Should make future packaging for termux simpler
2022-05-23 20:01:18 +02:00
Linus Dierheimer
bd0c593871
Simplify packaging for termux
2022-04-10 15:07:52 +02:00
Linus Dierheimer
09285338c5
Fix possible unassigned variable in memory code
2021-10-24 15:11:17 +02:00
Linus Dierheimer
9bc1f2a116
much more efficient caching
2021-04-15 18:59:26 +02:00
Linus Dierheimer
53c781aa21
project structure refactoring
2021-04-09 14:07:05 +02:00
Linus Dierheimer
e01d03f98d
dont use format string if an error occures
2021-04-03 21:51:50 +02:00
Linus Dierheimer
08066a76f0
all keys can now be set!
2021-04-03 11:39:59 +02:00
Linus Dierheimer
a1e90ba35c
editorconfig
2021-03-27 18:14:19 +01:00
Linus Dierheimer
beb2e9608c
dont print line if format evaluates to an empty string
2021-03-27 15:39:56 +01:00
Linus Dierheimer
f61ffdb149
removed ffStrbufIsEmpty
2021-03-23 19:48:52 +01:00
Linus Dierheimer
a0af3b0eb6
ffStrbufPutTo
2021-03-22 20:02:32 +01:00
Linus Dierheimer
101d19a015
ffGetFileContent now uses FFstrbuf for preventing buffer overflows
2021-03-21 16:52:17 +01:00
Linus Dierheimer
1ceb5c91ac
format options for every output!
2021-03-19 20:57:07 +01:00
Linus Dierheimer
db6d2eb3a3
structure and values can be set in fastfetch via command line and file!
2021-03-03 19:59:39 +01:00
Linus Dierheimer
0617b597f9
flashfetch loads default values too now
2021-02-28 17:10:12 +01:00
Linus Dierheimer
1cda1eb653
refactored internal state keeping
2021-02-27 18:30:05 +01:00
Linus Dierheimer
b44ab16dd1
refactored project structure
2021-02-27 16:40:05 +01:00