set dark theme correctly
This commit is contained in:
parent
b5f8f70136
commit
152bafd782
1 changed files with 13 additions and 2 deletions
|
|
@ -1,6 +1,17 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = [ pkgs.adw-gtk3 ];
|
environment.systemPackages = [ pkgs.adw-gtk3 ];
|
||||||
users.users.quadradical.maid.gsettings.settings.org.gnome.desktop.interface.gtk-theme =
|
users.users.quadradical.maid = {
|
||||||
"adw-gtk3-dark";
|
gsettings.settings.org.gnome.desktop.interface.gtk-theme = "adw-gtk3-dark";
|
||||||
|
|
||||||
|
# adw-gtk3 only applies its dark colors when GTK prefers dark, and outside GNOME that comes from here
|
||||||
|
file.xdg_config = builtins.listToAttrs (
|
||||||
|
map (version: {
|
||||||
|
name = "gtk-${version}/settings.ini";
|
||||||
|
value.source = (pkgs.formats.ini { }).generate "settings.ini" {
|
||||||
|
Settings.gtk-application-prefer-dark-theme = 1;
|
||||||
|
};
|
||||||
|
}) [ "3.0" "4.0" ]
|
||||||
|
);
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue