sorta refactor

This commit is contained in:
2025-12-25 23:41:24 +02:00
parent 68f7fe03e7
commit 063e32aa73
52 changed files with 1159 additions and 1996 deletions
+58
View File
@@ -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;
}
);
}