summaryrefslogtreecommitdiff
path: root/src/caelestia/utils/wallpaper.py
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-24 00:11:20 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-24 00:11:20 +1000
commit82f98a4f6a38c3a9ad2702ffb5207be9fc08e822 (patch)
treefc7291afaba1dfe46c913248e15280524ecee063 /src/caelestia/utils/wallpaper.py
parentscore: fix for low contrast wallpapers (diff)
downloadcaelestia-cli-82f98a4f6a38c3a9ad2702ffb5207be9fc08e822.tar.gz
caelestia-cli-82f98a4f6a38c3a9ad2702ffb5207be9fc08e822.tar.bz2
caelestia-cli-82f98a4f6a38c3a9ad2702ffb5207be9fc08e822.zip
[!B] colours: better colours
Also remove multiple dynamic flavours Add extended material (success colours)
Diffstat (limited to 'src/caelestia/utils/wallpaper.py')
-rw-r--r--src/caelestia/utils/wallpaper.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/caelestia/utils/wallpaper.py b/src/caelestia/utils/wallpaper.py
index e9453e8..300d746 100644
--- a/src/caelestia/utils/wallpaper.py
+++ b/src/caelestia/utils/wallpaper.py
@@ -92,13 +92,12 @@ def get_colours_for_wall(wall: Path | str, no_smart: bool) -> None:
cache = wallpapers_cache_dir / compute_hash(wall)
name = "dynamic"
- flavour = scheme.flavour if scheme.flavour in ("default", "alt1", "alt2") else "default"
if not no_smart:
scheme = Scheme(
{
"name": name,
- "flavour": flavour,
+ "flavour": "default",
"mode": get_smart_mode(wall, cache),
"variant": scheme.variant,
"colours": scheme.colours,
@@ -107,7 +106,7 @@ def get_colours_for_wall(wall: Path | str, no_smart: bool) -> None:
return {
"name": name,
- "flavour": flavour,
+ "flavour": "default",
"mode": scheme.mode,
"variant": scheme.variant,
"colours": get_colours_for_image(get_thumb(wall, cache), scheme),