support for gsettings bool value

This commit is contained in:
Linus Dierheimer
2021-05-05 20:20:41 +02:00
parent 14d3e3b1b3
commit 89aa4470aa
4 changed files with 59 additions and 34 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ static void printKWin(FFinstance* instance)
static void printMutter(FFinstance* instance)
{
const char* theme = ffSettingsGet(instance, "/org/gnome/shell/extensions/user-theme/name", "org.gnome.shell.extensions.user-theme", "name");
const char* theme = ffSettingsGet(instance, "/org/gnome/shell/extensions/user-theme/name", "org.gnome.shell.extensions.user-theme", NULL, "name");
if(theme == NULL)
theme = ffSettingsGet(instance, "/org/gnome/desktop/wm/preferences/theme", "org.gnome.desktop.wm.preferences", "theme");
theme = ffSettingsGet(instance, "/org/gnome/desktop/wm/preferences/theme", "org.gnome.desktop.wm.preferences", NULL, "theme");
if(theme == NULL)
{