termux-packages/packages/fastfetch/src-modules-terminalfont.c....

12 lines
326 B
Diff

--- a/src/modules/terminalfont.c
+++ b/src/modules/terminalfont.c
@@ -184,7 +184,7 @@
FFstrbuf fontName;
ffStrbufInit(&fontName);
- ffParsePropFile("/etc/vconsole.conf", "Font =", &fontName);
+ ffParsePropFile("@TERMUX_PREFIX@/etc/vconsole.conf", "Font =", &fontName);
if(fontName.length == 0)
{