summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 14:09:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 14:09:18 +1000
commit8889378c1d2723b1cb2e3caad7a77373fb1625d7 (patch)
tree726c2e747b4ebdff54873975b6876c9c00caecd6 /src
parentscreenshot: kill wayfreeze even if no selection (diff)
downloadcaelestia-cli-8889378c1d2723b1cb2e3caad7a77373fb1625d7.tar.gz
caelestia-cli-8889378c1d2723b1cb2e3caad7a77373fb1625d7.tar.bz2
caelestia-cli-8889378c1d2723b1cb2e3caad7a77373fb1625d7.zip
wallpaper: fix print opt
Print actual scheme, not just colours
Diffstat (limited to 'src')
-rw-r--r--src/caelestia/utils/wallpaper.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/caelestia/utils/wallpaper.py b/src/caelestia/utils/wallpaper.py
index 0a666be..3db9dab 100644
--- a/src/caelestia/utils/wallpaper.py
+++ b/src/caelestia/utils/wallpaper.py
@@ -102,7 +102,13 @@ def get_colours_for_wall(wall: Path | str, no_smart: bool) -> None:
}
)
- return get_colours_for_image(get_thumb(wall, cache), scheme)
+ return {
+ "name": scheme.name,
+ "flavour": scheme.flavour,
+ "mode": get_smart_mode(wall, cache),
+ "variant": scheme.variant,
+ "colours": get_colours_for_image(get_thumb(wall, cache), scheme),
+ }
def set_wallpaper(wall: Path | str, no_smart: bool) -> None: