Skip to content

Commit

Permalink
fix(home-manager): link GTK 4.0 files
Browse files Browse the repository at this point in the history
  • Loading branch information
EnzioKam committed Apr 12, 2024
1 parent 850c26a commit 0608789
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/home-manager/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
}

0 comments on commit 0608789

Please sign in to comment.