李通洲
b739d94f23
Command: an attempt to add a new module which can run custom shell scripts
2023-01-14 01:27:54 +08:00
Linus Dierheimer
f794053f99
Merge branch 'dev' of github.com:LinusDierheimer/fastfetch into dev
2023-01-12 11:42:23 +01:00
Linus Dierheimer
670cf6fe90
GPU selection options
...
#379
2023-01-12 11:41:07 +01:00
李通洲
387b8298bd
Windows: fix bug that line buffering doesn't work properly
2023-01-12 00:19:30 +08:00
李通洲
7145f5252d
TerminalShell: add --shell-version and --terminal-version options to disable shell / terminal version detection
...
in case that users don't like it
2023-01-11 17:17:17 +08:00
李通洲
7f97725d7f
Disk: add --disk-show-unknown option
...
Ref: https://github.com/LinusDierheimer/fastfetch/issues/383#issuecomment-1376893128
2023-01-10 17:31:47 +08:00
李通洲
d9a022ffff
Brightness: add new module (macOS)
...
It turns out that merging brightness module into resolution module is a bad idea.
2023-01-09 22:26:56 +08:00
Linus Dierheimer
2a092de8d8
Detect data dirs at runtime
...
* Respecting the current platform
* Using them where appropiate
2023-01-08 01:41:09 +01:00
Linus Dierheimer
bb57714ac9
Use configDirs to look for fastfetch configs
2023-01-07 22:51:47 +01:00
Linus Dierheimer
137039f868
Initialize brightness on wayland too
2023-01-07 22:37:01 +01:00
李通洲
a307977ec1
Image: don't try to read image file with --logo none
2023-01-08 01:26:10 +08:00
李通洲
a98c71aab4
Config: search for user config file in the order of configDirs
...
This is necessary to keep forward compatibility for Windows / macOS users. Since `$LOCALAPPPATH` and `~/Library/Preferences` are now the first element of `configDirs`, config files in `~/.config` won't be used in previous manner.
2023-01-02 17:27:06 +08:00
李通洲
0d722ebe0b
Config: add --list-config-paths option
2023-01-02 16:51:11 +08:00
李通洲
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