diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 14:09:18 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 14:09:18 +1000 |
| commit | 8889378c1d2723b1cb2e3caad7a77373fb1625d7 (patch) | |
| tree | 726c2e747b4ebdff54873975b6876c9c00caecd6 /src/caelestia/utils/wallpaper.py | |
| parent | screenshot: kill wayfreeze even if no selection (diff) | |
| download | caelestia-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/caelestia/utils/wallpaper.py')
| -rw-r--r-- | src/caelestia/utils/wallpaper.py | 8 |
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: |