fix(home-manager): use correct gtk theme name (#239)
- Theme name is all lowercase now - Change order from `flavor-size-accent-gtkTheme` to `flavor-accent-size+gtkTweaks`
This commit is contained in:
parent
b6c854508d
commit
2fb16f2d6f
1 changed files with 2 additions and 7 deletions
|
@ -72,15 +72,10 @@ in
|
|||
gtk = {
|
||||
theme =
|
||||
let
|
||||
flavorUpper = ctp.mkUpper cfg.flavor;
|
||||
accentUpper = ctp.mkUpper cfg.accent;
|
||||
sizeUpper = ctp.mkUpper cfg.size;
|
||||
|
||||
# use the light gtk theme for latte
|
||||
gtkTheme = if cfg.flavor == "latte" then "Light" else "Dark";
|
||||
gtkTweaks = lib.concatStringsSep "," cfg.tweaks;
|
||||
in
|
||||
{
|
||||
name = "Catppuccin-${flavorUpper}-${sizeUpper}-${accentUpper}-${gtkTheme}";
|
||||
name = "catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+${gtkTweaks}";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
inherit (cfg) size tweaks;
|
||||
accents = [ cfg.accent ];
|
||||
|
|
Loading…
Reference in a new issue