mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-20 17:47:44 +02:00
Merge 3f4622c923f63e66d4a473884d0a0095943daf0d into 236aa48e741ff8d65c4c3826db2813bf2ee6f352
This commit is contained in:
commit
a9f15911ba
@ -81,6 +81,7 @@ def flatten_colors(colors):
|
|||||||
"alpha": colors["alpha"],
|
"alpha": colors["alpha"],
|
||||||
**colors["special"],
|
**colors["special"],
|
||||||
**colors["colors"]}
|
**colors["colors"]}
|
||||||
|
util.Color.alpha_num = all_colors["alpha"]
|
||||||
return {k: util.Color(v) for k, v in all_colors.items()}
|
return {k: util.Color(v) for k, v in all_colors.items()}
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ def parse(theme_file):
|
|||||||
data["wallpaper"] = "None"
|
data["wallpaper"] = "None"
|
||||||
|
|
||||||
if "alpha" not in data:
|
if "alpha" not in data:
|
||||||
data["alpha"] = util.Color.alpha_num
|
data["alpha"] = "100"
|
||||||
|
|
||||||
# Terminal.sexy format.
|
# Terminal.sexy format.
|
||||||
if "color" in data:
|
if "color" in data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user