Skip to content

Commit

Permalink
fix(home-manager/gtk): ajust config.gtk.name for new package (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses authored Dec 30, 2024
1 parent c56711a commit 457c23a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/home-manager/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ in
(mkIf enable {
gtk.theme =
let
gtkTweaks = "+" + concatStringsSep "," cfg.tweaks;
gtkTweaks = concatStringsSep "," cfg.tweaks;
in
{
name =
"catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}"
+ lib.optionalString (cfg.tweaks != [ ]) gtkTweaks;
"catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+"
+ (if (cfg.tweaks == [ ]) then "default" else gtkTweaks);
package = config.catppuccin.sources.gtk.override {
inherit (cfg) flavor size tweaks;
accents = [ cfg.accent ];
Expand Down

0 comments on commit 457c23a

Please sign in to comment.