sorta refactor
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# dconf.settings = {
|
||||
# "org/gnome/desktop/interface" = {
|
||||
# icon-theme = config.gtk.iconTheme.name;
|
||||
# color-scheme =
|
||||
# if config.stylix.polarity == "dark"
|
||||
# then lib.mkDefault "prefer-dark"
|
||||
# else lib.mkDefault "prefer-light";
|
||||
# };
|
||||
# };
|
||||
|
||||
# stylix.targets.niri.enable = false;
|
||||
|
||||
# stylix.targets.gtk.enable = false;
|
||||
# gtk = {
|
||||
# enable = true;
|
||||
# theme = {
|
||||
# name = "adw-gtk3";
|
||||
# package = pkgs.adw-gtk3;
|
||||
# };
|
||||
# };
|
||||
#
|
||||
|
||||
stylix.targets.qt.enable = false;
|
||||
qt = {
|
||||
enable = true;
|
||||
platformTheme.name = "gtk3";
|
||||
};
|
||||
|
||||
xdg.configFile."DankMaterialShell/stylix.json".source = with config.lib.stylix.colors.withHashtag;
|
||||
lib.mkIf config.stylix.enable (
|
||||
pkgs.writers.writeJSON "dms-stylix-theme.json" {
|
||||
"name" = "Stylix";
|
||||
"primary" = base0C;
|
||||
"primaryText" = base00;
|
||||
"primaryContainer" = base0D;
|
||||
"secondary" = base0E;
|
||||
"surface" = base00;
|
||||
"surfaceText" = base05;
|
||||
"surfaceVariant" = base01;
|
||||
"surfaceVariantText" = base04;
|
||||
"surfaceTint" = base0C;
|
||||
"background" = base00;
|
||||
"backgroundText" = base07;
|
||||
"outline" = base03;
|
||||
"surfaceContainer" = base01;
|
||||
"surfaceContainerHigh" = base02;
|
||||
"error" = base08;
|
||||
"warning" = base0A;
|
||||
"info" = base0D;
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user