services/gtk: set theme and variant using dconf, change accent to purple
This commit is contained in:
parent
d71cf19f63
commit
a762326b79
2 changed files with 14 additions and 2 deletions
|
@ -45,5 +45,17 @@ in {
|
||||||
GTK_THEME = "${gtkSettings.gtk-theme-name}";
|
GTK_THEME = "${gtkSettings.gtk-theme-name}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.dconf.profiles.user.databases = [
|
||||||
|
{
|
||||||
|
lockAll = false;
|
||||||
|
settings = {
|
||||||
|
"org/gnome/desktop/interface" = {
|
||||||
|
color-scheme = "prefer-${styleCfg.scheme.variant}";
|
||||||
|
gtk-theme = styleCfg.gtk.theme.name;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@ lib': palette: let
|
||||||
black = "#000000";
|
black = "#000000";
|
||||||
in
|
in
|
||||||
with palette; ''
|
with palette; ''
|
||||||
@define-color accent_color ${base0D};
|
@define-color accent_color ${base0E};
|
||||||
@define-color accent_bg_color ${base0D};
|
@define-color accent_bg_color ${base0E};
|
||||||
@define-color accent_fg_color ${base00};
|
@define-color accent_fg_color ${base00};
|
||||||
@define-color destructive_color ${base08};
|
@define-color destructive_color ${base08};
|
||||||
@define-color destructive_bg_color ${base08};
|
@define-color destructive_bg_color ${base08};
|
||||||
|
|
Loading…
Add table
Reference in a new issue