fix(home-manager/gtk): replace normal tweak with default (#261)

This commit is contained in:
Isabel 2024-06-30 14:43:01 +01:00 committed by GitHub
parent 65543d2402
commit 92e2d7ae88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,9 @@ in
(mkIf enable {
gtk.theme =
let
gtkTweaks = concatStringsSep "," cfg.tweaks;
gtkTweaks = concatStringsSep "," (
map (tweak: { normal = "default"; }.${tweak} or tweak) cfg.tweaks
);
in
{
name = "catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+${gtkTweaks}";