services/gtk: add back dconf settings
`xdg-desktop-portal-gtk` did not seem to open my apps with the correct themes when using `xdg-open`, which I assume to be because it's trying to read from `dconf` in order to set the themes correctly.
This commit is contained in:
parent
a6e1683060
commit
b15f8de08f
1 changed files with 13 additions and 1 deletions
|
@ -46,6 +46,18 @@ in {
|
|||
GTK_THEME = "${gtkSettings.gtk-theme-name}";
|
||||
};
|
||||
};
|
||||
programs.dconf.enable = false;
|
||||
|
||||
programs.dconf = {
|
||||
enable = true;
|
||||
profiles.user.databases = singleton {
|
||||
lockAll = true;
|
||||
settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-${styleCfg.scheme.variant}";
|
||||
gtk-theme = styleCfg.gtk.theme.name;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue