Commit Graph

40 Commits

Author SHA1 Message Date
李通洲 a0174e8666 Global: add new unit related options
1. `--<module>-space-before-unit`
2. `--duration-abbreviation`
3. various code refactoring and cleanups
2025-07-30 15:03:23 +08:00
李通洲 5c546ab8e7 Parsing: silence compiler warnings 2025-04-30 14:14:28 +08:00
李通洲 5d960ec744 Uptime: fix non-normalized time being shown
Fix #1720
2025-04-29 10:22:19 +08:00
李通洲 52fdabeb2e Uptime: round seconds to the nearest minute
To match the behavior of `uptime` command
2025-04-01 19:40:15 +08:00
李通洲 fd26373c8f Global: overall optimization 2024-10-26 11:42:07 +08:00
李通洲 4dccb92bb2 Battery: support time remaining detection 2024-10-10 15:57:17 +08:00
李通洲 52715a0ec5 Fastfetch: rename binaryPrefixType to sizeBinaryPrefix 2024-07-22 10:59:23 +08:00
李通洲 46abc4f5f7 CPU: move option freqNdigits into display section 2024-07-17 15:49:12 +08:00
李通洲 d282050130 CPU: support display frequency in MHz 2024-07-17 14:09:06 +08:00
李通洲 12ac0ac7a9 Cursor: tidy 2024-04-07 20:09:05 +08:00
李通洲 ba60d9059f Temps: support color range customization 2024-02-27 11:00:43 +08:00
李通洲 a0c47204bb Temp: Display: support better temperature value formatting
Fix #737
2024-02-26 11:09:00 +08:00
李通洲 399e2235d4 Options (Display): split code 2023-10-26 10:26:15 +08:00
李通洲 af2c6a832e Fastfetch: add new option --temperature-unit 2023-07-27 15:58:49 +08:00
李通洲 c9741d1662 Parsing: simplify code 2023-07-27 15:17:54 +08:00
李通洲 856d732e13 Global: add option --size-ndigits and --size-max-prefix 2023-07-10 15:25:45 +08:00
李通洲 945b5f1b15 Parsing: make it able to print 1.00 GB 2023-03-25 12:53:08 +08:00
李通洲 1c38ebb551 Parsing: only disable warning when necessary 2023-01-28 13:46:40 +08:00
李通洲 aa36a83182 Windows: silense some warnings 2023-01-25 17:25:05 +08:00
Linus Dierheimer a1d8e3e598 Introduce FFPlatform 2023-01-15 15:57:26 +01:00
Linus Dierheimer 873c7d93b6 Fix ffStrSet 2022-08-27 12:22:03 +02:00
Linus Dierheimer f4ee8667b1 Binary prefix option 2022-08-26 16:02:04 +02:00
Linus Dierheimer c41a29a5c1 Refactor: move parsing functions to own header 2022-07-25 13:59:19 +02:00
Linus Dierheimer 0dffd8debf Vulkan module 2022-06-01 00:04:58 +02:00
Linus Dierheimer a032d37ad4 Refactored method naming / ordering 2022-04-08 15:50:49 +02:00
Linus Dierheimer 31d0729cdd Small syntactic changes 2022-01-08 21:58:37 +01:00
Linus Dierheimer 0879746e0f Unified method for testing if c strings contain a value 2022-01-07 18:00:38 +01:00
Linus Dierheimer 9db9a2c195 Added -Wconversion to compiler options 2021-11-17 18:38:57 +01:00
Linus Dierheimer 0f916bb492 Better ffParseSemver 2021-07-08 20:02:53 +02:00
Linus Dierheimer 8cb3ff7c2b Cursor support 2021-06-20 21:04:55 +02:00
Linus Dierheimer 602c3767e5 Rewrote WM / DE detection 2021-05-30 20:28:15 +02:00
Linus Dierheimer bd3c236480 a bit better parsing of fonts 2021-05-23 19:40:34 +02:00
Linus Dierheimer 142d9c30e0 faster ffGetPropValue 2021-05-16 21:02:06 +02:00
Linus Dierheimer c8a9f06b52 added multiline and xml support to ffGetPropValue 2021-05-16 18:41:00 +02:00
Linus Dierheimer bbb46e7c66 better ffGetPropValue 2021-05-15 14:58:43 +02:00
Linus Dierheimer 2ee2c68db5 ffGetPropValue trim result 2021-05-15 14:42:14 +02:00
Linus Dierheimer 9e597aa253 fix ffGetPropValue 2021-05-13 12:48:00 +02:00
Linus Dierheimer 4d7a06ac97 ffGetPropValue 2021-05-13 12:27:44 +02:00
Linus Dierheimer e28126f40e better result handling of calculation functions 2021-04-22 21:41:42 +02:00
Linus Dierheimer 53c781aa21 project structure refactoring 2021-04-09 14:07:05 +02:00