Revert "fix: do not capitalise theme style"

* stay inline with upstream

This reverts commit 3fc72208de.

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
This commit is contained in:
Pranav
2023-08-04 14:26:21 +05:30
parent a40e058320
commit f13a2b2e08
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ To use it in home-manager:
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {
name = "Catppuccin-Macchiato-Compact-Pink-dark"; name = "Catppuccin-Macchiato-Compact-Pink-Dark";
package = pkgs.catppuccin-gtk.override { package = pkgs.catppuccin-gtk.override {
accents = [ "pink" ]; accents = [ "pink" ];
size = "compact"; size = "compact";

View File

@@ -39,7 +39,7 @@ def create_theme(types: List[str], accents: List[str], dest: str, link: bool = F
try: try:
# Rename colloid generated files as per catppuccin # Rename colloid generated files as per catppuccin
new_filename = dest + \ new_filename = dest + \
f"/{name}-{type.capitalize()}-{size.capitalize()}-{accent.capitalize()}-{theme_style}" f"/{name}-{type.capitalize()}-{size.capitalize()}-{accent.capitalize()}-{theme_style.title()}"
filename = f"{name}" filename = f"{name}"
if def_color_map[accent] != 'default': if def_color_map[accent] != 'default':
filename += f"-{def_color_map[accent].capitalize()}" filename += f"-{def_color_map[accent].capitalize()}"