Compare commits

...

4 Commits

Author SHA1 Message Date
Pranav
329e522c08 chore: update colloid
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-21 19:16:02 +05:30
Pranav
3fc72208de fix: do not capitalise theme style
fixes #100

Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-21 19:15:34 +05:30
Pranav
b75165df4d feat: Enable option for float panel
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
2023-06-03 08:42:16 +05:30
Pranav
1a5f20809a chore: update colloid 2023-06-03 08:41:01 +05:30
4 changed files with 5 additions and 4 deletions

View File

@@ -130,10 +130,11 @@ Compulsory field Specify color variant(s) [mocha|frappe|macchiato|latte|a
-s, --size VARIANT... Specify size variant [standard|compact] (Default: standard variant)
-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.
--tweaks Specify versions for tweaks [black|rimless|normal]
--tweaks Specify versions for tweaks [black|rimless|normal|float]
1. black: Blackness color version
2. rimless: Remove the 1px border about windows and menus
3. normal: Normal windows button style (titlebuttons: max/min/close)
4. float: Floating gnome-shell panel style
-h, --help Show help
```
You can install any theme like the following example

Submodule colloid updated: 2449ab52c2...57d7d8c1ed

View File

@@ -59,7 +59,7 @@ parser.add_argument("--tweaks",
default=[],
nargs="+",
dest="tweaks",
choices=["black", "rimless", "normal"],
choices=["black", "rimless", "normal", "float"],
help="Some specifc tweaks. like black, rimless, normal buttons")
parser.add_argument("-l", "--link",

View File

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