summaryrefslogtreecommitdiff
path: root/nix/modules/home/gtk.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/modules/home/gtk.nix')
-rw-r--r--nix/modules/home/gtk.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/nix/modules/home/gtk.nix b/nix/modules/home/gtk.nix
index 4e85b9d..902f993 100644
--- a/nix/modules/home/gtk.nix
+++ b/nix/modules/home/gtk.nix
@@ -2,7 +2,24 @@
{
gtk = {
theme = {
- package = pkgs.catppuccin-gtk;
+ name = "catppuccin-mocha-pink-standard";
+ package = pkgs.catppuccin-gtk.override {
+ variant = "mocha";
+ accents = [ "pink" ];
+ };
};
};
+ xdg.configFile = {
+ "gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
+ "gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
+ "gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
+
+ "gtk-3.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-3.0/gtk.css";
+ "gtk-3.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-3.0/gtk-dark.css";
+ "gtk-3.0/settings.ini".text = ''
+ [Settings]
+ gtk-theme-name=${config.gtk.theme.name}
+ gtk-application-prefer-dark-theme=1
+ '';
+ };
}