mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
TerminalFont (Alacritty): fix font size never being parsed from config
The query array gained a third entry in
dd30c82b83 but numQueries stayed at 2, so
`size =` was never queried and every Alacritty user silently got the
hardcoded 11.25 fallback.
This commit is contained in:
committed by
Carter Li
parent
e3b8e94055
commit
4c2af4071c
@@ -23,13 +23,13 @@ static void detectAlacritty(FFTerminalFontResult* terminalFont) {
|
||||
};
|
||||
|
||||
// alacritty parses config files in this order
|
||||
if (ffParsePropFileConfigValues("alacritty/alacritty.toml", 2, fontQueryToml)) {
|
||||
if (ffParsePropFileConfigValues("alacritty/alacritty.toml", 3, fontQueryToml)) {
|
||||
break;
|
||||
}
|
||||
if (ffParsePropFileConfigValues("alacritty.toml", 2, fontQueryToml)) {
|
||||
if (ffParsePropFileConfigValues("alacritty.toml", 3, fontQueryToml)) {
|
||||
break;
|
||||
}
|
||||
if (ffParsePropFileConfigValues(".alacritty.toml", 2, fontQueryToml)) {
|
||||
if (ffParsePropFileConfigValues(".alacritty.toml", 3, fontQueryToml)) {
|
||||
break;
|
||||
}
|
||||
} while (false);
|
||||
|
||||
Reference in New Issue
Block a user