We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenshot:
The content of the configuration file you use (if any):
{ "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "modules": [ "kernel", "packages", "de", "terminalfont", "memory", "battery", "poweradapter", ] }
The text was updated successfully, but these errors were encountered:
OK, I found the bug. In the source, in case of xterm, you look for:
ffParsePropFileHomeValues(".Xresources", 2, (FFpropquery[]) { {"xterm*faceName:", &fontName}, {"xterm*faceSize:", &fontSize}, });
ffParsePropFileHomeValues(".Xresources", 2, (FFpropquery[]) {
{"xterm*faceName:", &fontName},
{"xterm*faceSize:", &fontSize},
});
but .Xresources is somewhat case-insensitive, so I actually had:
XTerm*faceName: Liberation Mono XTerm*faceSize: 11
XTerm*faceName: Liberation Mono
XTerm*faceSize: 11
and thus fastfetch went for the default, which is:
if (fontName.length == 0) ffStrbufAppendS(&fontName, "fixed"); if (fontSize.length == 0) ffStrbufAppendS(&fontSize, "8.0");
if (fontName.length == 0)
ffStrbufAppendS(&fontName, "fixed");
if (fontSize.length == 0)
ffStrbufAppendS(&fontSize, "8.0");
I therefore modified my .Xresources to use only lowercase letters and now it's all good.
Sorry, something went wrong.
7eaefe1
TerminalFont (Linux): improve detection for xterm
64c53e2
Fix #1095
No branches or pull requests
General description of bug:
Often helpful information:
Screenshot:
The content of the configuration file you use (if any):
The text was updated successfully, but these errors were encountered: