Compare commits

..

6 Commits

Author SHA1 Message Date
Pranav
5c05af916a chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-05-21 15:03:46 +05:30
spooky
19d4e9cd5b docs(README): fix install instructions for --link 2023-05-02 15:43:46 +05:30
bronsen
d5f542f484 docs(README): fix long option for linking gtk-4.0
The install script actually uses `--link` as long option for linking
gtk-4.0 themes.
2023-05-02 10:59:45 +02:00
Pranav
0997e92071 chore: update index.theme theme name correctly
fixes #90

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-16 16:25:50 +05:30
Pranav
d11e6465bd chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-14 15:59:42 +05:30
Pranav
6c350cc3eb chore: update colloid
fixes #81

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-04-12 10:56:41 +05:30
3 changed files with 4 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ Compulsory field Specify color variant(s) [mocha|frappe|macchiato|latte|a
-a, --accent VARIANT... Specify theme color variant(s) [rosewater|flamingo|pink|mauve|red|maroon|peach|yellow|green|teal|sky| -a, --accent VARIANT... Specify theme color variant(s) [rosewater|flamingo|pink|mauve|red|maroon|peach|yellow|green|teal|sky|
sapphire|blue|lavender|all] (Default: blue) sapphire|blue|lavender|all] (Default: blue)
-s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant) -s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant)
-l, --libadwaita Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme -l, --link Link installed gtk-4.0 theme to config folder for all libadwaita app use this theme
--zip Zips up the finally produced themes. --zip Zips up the finally produced themes.
--tweaks Specify versions for tweaks [black|rimless|normal] --tweaks Specify versions for tweaks [black|rimless|normal]
1. black: Blackness color version 1. black: Blackness color version

Submodule colloid updated: 6ddd8e1932...2449ab52c2

View File

@@ -6,7 +6,7 @@ from typing import List
from scripts.ctp_colors import ctp_colors from scripts.ctp_colors import ctp_colors
from scripts.patches import recreate_xfwm4_assets from scripts.patches import recreate_xfwm4_assets
from scripts.recolor import recolor from scripts.recolor import recolor
from scripts.utils import zip_multiple_folders from scripts.utils import replacetext, zip_multiple_folders
from scripts.var import def_color_map, repo_dir, src_dir, theme_name, work_dir from scripts.var import def_color_map, repo_dir, src_dir, theme_name, work_dir
@@ -57,6 +57,7 @@ def create_theme(types: List[str], accents: List[str], dest: str, link: bool = F
os.rename(dest + "/" + filename + '-xhdpi', os.rename(dest + "/" + filename + '-xhdpi',
new_filename + '-xhdpi') new_filename + '-xhdpi')
os.rename(dest + "/" + filename, new_filename) os.rename(dest + "/" + filename, new_filename)
replacetext(new_filename + '/index.theme', filename, new_filename.split("/")[-1])
print("Successfully renamed file") print("Successfully renamed file")
except Exception as e: except Exception as e:
print("Failed to rename the files due to:", e) print("Failed to rename the files due to:", e)