李通洲
ae6d921f23
Config: don't generate a config file silently
...
Instead, provide a new flag `--gen-config` and print the path to the config file, so that users can know where to find the file.
2023-01-02 16:34:57 +08:00
李通洲
d692fe91fb
Windows: don't try to load config file in /etc
2023-01-02 16:34:57 +08:00
李通洲
39d8ebc3c9
Logo: support --logo-padding-top
2023-01-01 17:37:11 +08:00
李通洲
8e3b6280af
Image: support iterm protocol with --logo-type
...
fixes #374
2023-01-01 17:09:30 +08:00
李通洲
4a781d8471
Logo: support raw image type
...
For raw image type, fastfetch nether parses the file content, nor tries to detect the image size from the file. It's useful to print pre-converted sixel image.
2023-01-01 17:06:18 +08:00
李通洲
1dabac9782
Media: remove the alias name Song to avoid confusion
...
So we don't have code like `#define FF_SONG_MODULE_NAME "Media"`.
Also fix the error `unknown option: --media-format`
2022-12-30 11:21:11 +08:00
Ian Manske
90d8677b7a
Add missing else statement.
2022-12-29 12:51:00 -05:00
李通洲
0a83423731
Packages: support eopkg for Solus ( #360 )
...
UNTESTED
2022-12-27 17:36:58 +08:00
李通洲
cb48c1277a
Chassis: seperate module
...
It's only supported on Linux
2022-12-24 23:00:38 +08:00
李通洲
89347b7bee
Image: add dirty support of iTerm image protocol
...
iTerm image protocol supports most commonly used image formats so we don't need image magick to convert image format.
However, since we don't know anything about the image, `--logo-width` `--logo-height` must be specified to make sure that logo will not be covered by texts.
2022-12-22 21:37:16 +08:00
李通洲
c45ef08926
Image: expose more chafa settings
2022-12-22 11:36:13 +08:00
李通洲
0cacedfc5d
Image: enable Chafa on Windows
...
It's not built by default, as imagemagick requires too many dlls.
2022-12-22 02:07:57 +08:00
李通洲
ff6e982050
Global: remove caching except image caching
2022-12-17 12:41:11 +08:00
李通洲
e4a5194115
Rework stdout buffering on Windows.
...
Windows doesn't support line-buffering. We enable full-buffering instead and flush buffers per module.
2022-12-14 16:27:04 +08:00
李通洲
54912df237
Option: enable --show-errors if --stat is set
2022-12-14 13:52:16 +08:00
李通洲
b09aa3240a
Global: support --stat option for benchmark
2022-12-14 11:30:50 +08:00
Linus Dierheimer
3a5af1bbb3
Logo: data source option
...
#345
2022-12-12 13:43:10 +01:00
李通洲
72dcc5223d
Global: rename --disable-stdout-buffer to --unbuffered
2022-12-10 13:11:41 +08:00
李通洲
58aa3e94e4
Init: add --disable-stdout-buffer option
2022-12-03 22:21:24 +08:00
李通洲
b3e635a923
Wifi: support macOS
2022-11-28 16:59:11 +08:00
李通洲
5e5442426c
Wifi: load wlanapi.dll dynamically
...
Windows Server doesn't support it
2022-11-27 16:22:30 +08:00
李通洲
a55add190c
Wifi: add new module
...
Only Windows is supported currently
2022-11-27 12:21:53 +08:00
jumps
449d121f19
Fix setting cpu-format
...
`--cpu-format` set `terminal-format` instead of `cpu-format` because of
a typo in fastfetch.c
2022-11-01 18:25:42 +03:00
李通洲
69b3a6871f
Init: improve option parsing performance
2022-10-23 10:11:53 +08:00
李通洲
0aac358e33
Init: simplify module arg parsing code
2022-10-23 10:08:02 +08:00
李通洲
e13c88cea6
Global: support bar output for percentage value #294
2022-10-22 16:15:12 +08:00
Linus Dierheimer
a03eaed4e2
Disk: add options#
2022-10-17 17:35:06 +02:00
Linus Dierheimer
19a9b18c69
Disk: Linux impl working
2022-10-17 13:19:48 +02:00
Linus Dierheimer
693cc1e730
Fix build errors
2022-10-13 22:02:58 +02:00
李通洲
6f66b87262
Windows: support --list-presets
2022-10-13 23:49:09 +08:00
李通洲
3cc6611614
Windows: support native Windows
2022-10-13 23:49:09 +08:00
Linus Dierheimer
df986d36a2
Print the last element of the default structure
...
#283
2022-10-10 10:16:43 +02:00
李通洲
661c174348
Merge remote-tracking branch 'origin/master' into msys2
2022-10-09 16:55:51 +08:00
Linus Dierheimer
1dd942a7b1
TARGET_DIR_ETC
2022-10-09 10:39:57 +02:00
李通洲
af6b7dd81b
Packages: add support for Windows
2022-10-09 15:37:15 +08:00
李通洲
230d2ac39d
Board: split out from host; add support for Windows
2022-10-06 23:03:15 +08:00
李通洲
c7e6e45078
Host: split Bios module; init support for Windows
2022-10-06 23:02:39 +08:00
Carter Li
01dbd0c266
macOS: completely drop libplist dependency
2022-10-02 01:54:43 +08:00
Carter Li
03511bd014
Config: respect CMAKE_INSTALL_SYSCONFDIR
2022-10-01 23:25:15 +08:00
Linus Dierheimer
e6e189497d
Refactor font output
2022-09-29 14:15:11 +02:00
李通洲
8a52836afc
Init: don't pay for unused module
...
Networking can be very slow
2022-09-29 18:33:37 +08:00
李通洲
9cf95620a9
Weather: add new module
2022-09-29 18:33:37 +08:00
李通洲
c72c6c4a27
PublicIp: add option to set public IP server URL
2022-09-29 18:33:37 +08:00
李通洲
5c64ce3b89
Users: add missing module settings
2022-09-27 23:30:55 +08:00
李通洲
38a6d07c85
TerminalFont: support Termux
2022-09-27 23:30:55 +08:00
李通洲
f324794f54
LocalIp: add option --localip-name-prefix
...
eg: --localip-name-prefix en
2022-09-26 16:20:51 +08:00
李通洲
6e3a329d3b
Users: add new module
...
I don't think it's very useful but neofetch support it
2022-09-26 15:29:11 +08:00
李通洲
b2da8bac41
Font: add option to display fonts inline ( enabled by default )
2022-09-26 15:29:11 +08:00
李通洲
100e59fd49
Temps: add options to enable detection ( disabled by default )
2022-09-26 15:29:11 +08:00
李通洲
ed5d7292ba
TerminalFont: support Windows Terminal detection
2022-09-24 01:49:08 +08:00