Skip to content

Commit

Permalink
fix(home-manager/kvantum): don't uppercase accents and flavors in ove…
Browse files Browse the repository at this point in the history
…rride
  • Loading branch information
ryand56 committed Oct 23, 2024
1 parent 96cf8b4 commit 207a844
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions modules/home-manager/kvantum.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ let
cfg = config.qt.style.catppuccin;
enable = cfg.enable && config.qt.enable;

flavorCapitalized = lib.ctp.mkUpper cfg.flavor;
accentCapitalized = lib.ctp.mkUpper cfg.accent;
theme = pkgs.catppuccin-kvantum.override {
accent = accentCapitalized;
variant = flavorCapitalized;
accent = cfg.accent;
variant = cfg.flavor;
};
themeName = "Catppuccin-${flavorCapitalized}-${accentCapitalized}";
themeName = "catppuccin-${cfg.flavor}-${cfg.accent}";
in
{
options.qt.style.catppuccin = lib.ctp.mkCatppuccinOpt { name = "Kvantum"; } // {
Expand Down

0 comments on commit 207a844

Please sign in to comment.