diff --git a/modules/home-manager/gtk.nix b/modules/home-manager/gtk.nix index 0bad6fc0..153cf502 100644 --- a/modules/home-manager/gtk.nix +++ b/modules/home-manager/gtk.nix @@ -62,4 +62,10 @@ in package = pkgs.catppuccin-cursors.${cfg.cursor.flavour + accentUpper}; }; }; + + config.xdg.configFile = lib.mkIf enable { + "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"; + }; }