Fix gtk theme to work with dark mode

This commit is contained in:
Random936
2026-08-23 10:58:20 -04:00
parent ff57b5ba5b
commit 35a679865c
2 changed files with 26 additions and 4 deletions
+17 -3
View File
@@ -36,13 +36,27 @@
gtk = let
theme = {
name = "Colloid-dark";
name = "Colloid-Dark";
package = pkgs.colloid-gtk-theme;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
in {
enable = true;
inherit theme;
gtk4.theme = theme;
inherit theme iconTheme;
gtk4 = {
inherit theme iconTheme;
extraConfig = {
gtk-application-prefer-dark-theme = 1;
gtk-color-scheme = "prefer-dark";
};
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
gtk-color-scheme = "prefer-dark";
};
};
xdg.mimeApps = {