diff --git a/README.md b/README.md index 6bc2efb..e7e3dee 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ pip install -r requirements.txt ```bash $ python generate.py --help usage: generate.py [-h] [--accent [accent color]] - [--bg-alpha [background alpha]] + [--bg-alpha [background alpha]] [--frosted frosted effect] [--outer-gap [outer gap size]] [--inner-gap [inner gap size]] [--active-hint [active hint size]] @@ -101,6 +101,8 @@ options: The accent color to use for the theme. --bg-alpha [background alpha], -b [background alpha] The alpha value of the background color. + --frosted frosted effect, -f frosted effect + Whether to use frosted glass effect for the theme. --outer-gap [outer gap size], -o [outer gap size] The size of the outer gap. --inner-gap [inner gap size], -i [inner gap size] diff --git a/cosmic-settings/Catppuccin-Frappe-Blue.ron b/cosmic-settings/Catppuccin-Frappe-Blue.ron index 85538b3..49a21cb 100644 --- a/cosmic-settings/Catppuccin-Frappe-Blue.ron +++ b/cosmic-settings/Catppuccin-Frappe-Blue.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Green.ron b/cosmic-settings/Catppuccin-Frappe-Green.ron index 92bce11..d295270 100644 --- a/cosmic-settings/Catppuccin-Frappe-Green.ron +++ b/cosmic-settings/Catppuccin-Frappe-Green.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Lavender.ron b/cosmic-settings/Catppuccin-Frappe-Lavender.ron index 87a4e25..0b7b706 100644 --- a/cosmic-settings/Catppuccin-Frappe-Lavender.ron +++ b/cosmic-settings/Catppuccin-Frappe-Lavender.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Mauve.ron b/cosmic-settings/Catppuccin-Frappe-Mauve.ron index 3321407..88950b0 100644 --- a/cosmic-settings/Catppuccin-Frappe-Mauve.ron +++ b/cosmic-settings/Catppuccin-Frappe-Mauve.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Peach.ron b/cosmic-settings/Catppuccin-Frappe-Peach.ron index 692cd2b..c31c05f 100644 --- a/cosmic-settings/Catppuccin-Frappe-Peach.ron +++ b/cosmic-settings/Catppuccin-Frappe-Peach.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Pink.ron b/cosmic-settings/Catppuccin-Frappe-Pink.ron index e1658a6..ca8c951 100644 --- a/cosmic-settings/Catppuccin-Frappe-Pink.ron +++ b/cosmic-settings/Catppuccin-Frappe-Pink.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Red.ron b/cosmic-settings/Catppuccin-Frappe-Red.ron index feae0ac..8c52d36 100644 --- a/cosmic-settings/Catppuccin-Frappe-Red.ron +++ b/cosmic-settings/Catppuccin-Frappe-Red.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Frappe-Yellow.ron b/cosmic-settings/Catppuccin-Frappe-Yellow.ron index b378691..18a14b4 100644 --- a/cosmic-settings/Catppuccin-Frappe-Yellow.ron +++ b/cosmic-settings/Catppuccin-Frappe-Yellow.ron @@ -304,6 +304,7 @@ blue: 0.42745098, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Blue.ron b/cosmic-settings/Catppuccin-Latte-Blue.ron index 555185f..ac4c262 100644 --- a/cosmic-settings/Catppuccin-Latte-Blue.ron +++ b/cosmic-settings/Catppuccin-Latte-Blue.ron @@ -286,6 +286,7 @@ blue: 0.96078431, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Green.ron b/cosmic-settings/Catppuccin-Latte-Green.ron index d15b136..d0bae3d 100644 --- a/cosmic-settings/Catppuccin-Latte-Green.ron +++ b/cosmic-settings/Catppuccin-Latte-Green.ron @@ -286,6 +286,7 @@ blue: 0.16862745, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Lavender.ron b/cosmic-settings/Catppuccin-Latte-Lavender.ron index be38d96..d917d77 100644 --- a/cosmic-settings/Catppuccin-Latte-Lavender.ron +++ b/cosmic-settings/Catppuccin-Latte-Lavender.ron @@ -286,6 +286,7 @@ blue: 0.99215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Mauve.ron b/cosmic-settings/Catppuccin-Latte-Mauve.ron index 15c5ddc..cc2fbec 100644 --- a/cosmic-settings/Catppuccin-Latte-Mauve.ron +++ b/cosmic-settings/Catppuccin-Latte-Mauve.ron @@ -286,6 +286,7 @@ blue: 0.93725490, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Peach.ron b/cosmic-settings/Catppuccin-Latte-Peach.ron index df1a4f3..097e317 100644 --- a/cosmic-settings/Catppuccin-Latte-Peach.ron +++ b/cosmic-settings/Catppuccin-Latte-Peach.ron @@ -286,6 +286,7 @@ blue: 0.04313725, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Pink.ron b/cosmic-settings/Catppuccin-Latte-Pink.ron index 8ce11ac..adc711a 100644 --- a/cosmic-settings/Catppuccin-Latte-Pink.ron +++ b/cosmic-settings/Catppuccin-Latte-Pink.ron @@ -286,6 +286,7 @@ blue: 0.79607843, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Red.ron b/cosmic-settings/Catppuccin-Latte-Red.ron index b262fb8..def3a5a 100644 --- a/cosmic-settings/Catppuccin-Latte-Red.ron +++ b/cosmic-settings/Catppuccin-Latte-Red.ron @@ -286,6 +286,7 @@ blue: 0.22352941, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Latte-Yellow.ron b/cosmic-settings/Catppuccin-Latte-Yellow.ron index 92bb7dc..f9836c7 100644 --- a/cosmic-settings/Catppuccin-Latte-Yellow.ron +++ b/cosmic-settings/Catppuccin-Latte-Yellow.ron @@ -286,6 +286,7 @@ blue: 0.11372549, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Blue.ron b/cosmic-settings/Catppuccin-Macchiato-Blue.ron index f2b8794..e78d01e 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Blue.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Blue.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Green.ron b/cosmic-settings/Catppuccin-Macchiato-Green.ron index 36e47b6..25f6284 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Green.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Green.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Lavender.ron b/cosmic-settings/Catppuccin-Macchiato-Lavender.ron index 2932a61..5b2a4f9 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Lavender.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Lavender.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Mauve.ron b/cosmic-settings/Catppuccin-Macchiato-Mauve.ron index 093fa47..ff88438 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Mauve.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Mauve.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Peach.ron b/cosmic-settings/Catppuccin-Macchiato-Peach.ron index 5878446..69c3823 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Peach.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Peach.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Pink.ron b/cosmic-settings/Catppuccin-Macchiato-Pink.ron index fc6f1fc..34db599 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Pink.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Pink.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Red.ron b/cosmic-settings/Catppuccin-Macchiato-Red.ron index 2c743c2..af8d0ad 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Red.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Red.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Macchiato-Yellow.ron b/cosmic-settings/Catppuccin-Macchiato-Yellow.ron index 23a124a..59665d2 100644 --- a/cosmic-settings/Catppuccin-Macchiato-Yellow.ron +++ b/cosmic-settings/Catppuccin-Macchiato-Yellow.ron @@ -304,6 +304,7 @@ blue: 0.39215686, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Blue.ron b/cosmic-settings/Catppuccin-Mocha-Blue.ron index 3b62b65..8ed8f02 100644 --- a/cosmic-settings/Catppuccin-Mocha-Blue.ron +++ b/cosmic-settings/Catppuccin-Mocha-Blue.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Green.ron b/cosmic-settings/Catppuccin-Mocha-Green.ron index dee3ed4..a56d159 100644 --- a/cosmic-settings/Catppuccin-Mocha-Green.ron +++ b/cosmic-settings/Catppuccin-Mocha-Green.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Lavender.ron b/cosmic-settings/Catppuccin-Mocha-Lavender.ron index 40a3ddc..ca94433 100644 --- a/cosmic-settings/Catppuccin-Mocha-Lavender.ron +++ b/cosmic-settings/Catppuccin-Mocha-Lavender.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Mauve.ron b/cosmic-settings/Catppuccin-Mocha-Mauve.ron index aa18707..2895367 100644 --- a/cosmic-settings/Catppuccin-Mocha-Mauve.ron +++ b/cosmic-settings/Catppuccin-Mocha-Mauve.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Peach.ron b/cosmic-settings/Catppuccin-Mocha-Peach.ron index 2427061..0e5013f 100644 --- a/cosmic-settings/Catppuccin-Mocha-Peach.ron +++ b/cosmic-settings/Catppuccin-Mocha-Peach.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Pink.ron b/cosmic-settings/Catppuccin-Mocha-Pink.ron index 26dab62..816a925 100644 --- a/cosmic-settings/Catppuccin-Mocha-Pink.ron +++ b/cosmic-settings/Catppuccin-Mocha-Pink.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Red.ron b/cosmic-settings/Catppuccin-Mocha-Red.ron index fb55234..833b777 100644 --- a/cosmic-settings/Catppuccin-Mocha-Red.ron +++ b/cosmic-settings/Catppuccin-Mocha-Red.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/cosmic-settings/Catppuccin-Mocha-Yellow.ron b/cosmic-settings/Catppuccin-Mocha-Yellow.ron index d6c407b..2e6e6c1 100644 --- a/cosmic-settings/Catppuccin-Mocha-Yellow.ron +++ b/cosmic-settings/Catppuccin-Mocha-Yellow.ron @@ -304,6 +304,7 @@ blue: 0.35294118, alpha: 1.0, )), + is_frosted: false, gaps: (0, 8), active_hint: 3, ) diff --git a/generate.py b/generate.py index 5d52623..2356bea 100644 --- a/generate.py +++ b/generate.py @@ -32,6 +32,15 @@ dest="bg_alpha", help="The alpha value of the background color.", ) +parser.add_argument( + "--frosted", + "-f", + type=bool, + metavar="frosted effect", + dest="is_frosted", + default=False, + help="Whether to use frosted glass effect for the theme.", +) parser.add_argument( "--outer-gap", "-o", @@ -87,6 +96,7 @@ flavor = args.flavor accent = args.accent bg_alpha = args.bg_alpha +is_frosted = args.is_frosted outer_gap_size = args.outer_gap_size inner_gap_size = args.inner_gap_size active_hint_size = args.active_hint_size @@ -229,7 +239,8 @@ )),""" ) print( - f""" gaps: ({outer_gap_size}, {inner_gap_size}), + f""" is_frosted: {"true" if is_frosted else "false"}, + gaps: ({outer_gap_size}, {inner_gap_size}), active_hint: {active_hint_size}, )""" )