mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 16:26:39 +01:00
Cleanup/Note on future changes
This commit is contained in:
@@ -68,12 +68,12 @@ static void printXFCE4Terminal(FFinstance* instance)
|
||||
}
|
||||
|
||||
static void printTilixTerminal(FFinstance* instance)
|
||||
{
|
||||
{ // Note - Subject to change when DConf/GSettings fix their implementations of defaults/relocatable schemas respectively
|
||||
const char* fontName = NULL;
|
||||
|
||||
const char* defaultProfile = ffSettingsGetGsettings(instance, "com.gexperts.Tilix.ProfilesList", NULL, "default", FF_VARIANT_TYPE_STRING).strValue;
|
||||
|
||||
if (!defaultProfile)
|
||||
if(!defaultProfile)
|
||||
{
|
||||
ffPrintError(instance, FF_TERMFONT_MODULE_NAME, 0, &instance->config.termFontKey, &instance->config.termFontFormat, FF_TERMFONT_NUM_FORMAT_ARGS, "Couldn't find \"Default\" profile in Tilix settings");
|
||||
return;
|
||||
@@ -96,7 +96,7 @@ static void printTilixTerminal(FFinstance* instance)
|
||||
else if(!res.boolValueSet || res.boolValue) // system font
|
||||
fontName = ffSettingsGetDConf(instance, "/org/gnome/desktop/interface/monospace-font-name", FF_VARIANT_TYPE_STRING).strValue;
|
||||
|
||||
if (!fontName)
|
||||
if(!fontName)
|
||||
{
|
||||
ffPrintError(instance, FF_TERMFONT_MODULE_NAME, 0, &instance->config.termFontKey, &instance->config.termFontFormat, FF_TERMFONT_NUM_FORMAT_ARGS, "Couldn't find \"Terminal font\" in Tilix settings");
|
||||
ffStrbufDestroy(&key);
|
||||
|
||||
Reference in New Issue
Block a user