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 = {
|
gtk = {
|
||||||
theme =
|
theme =
|
||||||
let
|
let
|
||||||
flavorUpper = ctp.mkUpper cfg.flavor;
|
gtkTweaks = lib.concatStringsSep "," cfg.tweaks;
|
||||||
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";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
name = "Catppuccin-${flavorUpper}-${sizeUpper}-${accentUpper}-${gtkTheme}";
|
name = "catppuccin-${cfg.flavor}-${cfg.accent}-${cfg.size}+${gtkTweaks}";
|
||||||
package = pkgs.catppuccin-gtk.override {
|
package = pkgs.catppuccin-gtk.override {
|
||||||
inherit (cfg) size tweaks;
|
inherit (cfg) size tweaks;
|
||||||
accents = [ cfg.accent ];
|
accents = [ cfg.accent ];
|
||||||
|
|
Loading…
Reference in a new issue