Fix gtk theme to work with dark mode
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user