Skip to content

Commit

Permalink
home/theme/catppuccin: only theme discord when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Aug 25, 2024
1 parent b398b7c commit 884279f
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions modules/home/theme/catppuccin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,18 +153,6 @@ in
};
};

# gtk.catppuccin = mkIf pkgs.stdenv.isLinux {
# enable = true;
#
# inherit (cfg) accent;
# size = "standard";
#
# icon = {
# enable = true;
# inherit (cfg) accent;
# };
# };

qt = mkIf pkgs.stdenv.isLinux {
enable = true;

Expand Down Expand Up @@ -372,10 +360,11 @@ in
# rofi.catppuccin.enable = true;
};

# TODO: conditional enable
xdg.configFile = mkIf pkgs.stdenv.isLinux {
"ArmCord/themes/Catppuccin-Macchiato-BD".source = ./Catppuccin-Macchiato-BD;
"BetterDiscord/themes/catppuccin-macchiato.theme.css".source = ./catppuccin-macchiato.theme.css;
};
xdg.configFile =
mkIf (pkgs.stdenv.isLinux && config.${namespace}.programs.graphical.apps.discord.enable)
{
"ArmCord/themes/Catppuccin-Macchiato-BD".source = ./Catppuccin-Macchiato-BD;
"BetterDiscord/themes/catppuccin-macchiato.theme.css".source = ./catppuccin-macchiato.theme.css;
};
};
}

0 comments on commit 884279f

Please sign in to comment.