diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-13 00:42:46 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-13 00:42:46 +1000 |
| commit | 796d538b168855ebd2afd62278800151816adcab (patch) | |
| tree | 27a29d9a44b8a7a6e68973d84895055a8aa37c9a /src/caelestia/utils | |
| parent | scheme: ensure enough colours (diff) | |
| download | caelestia-cli-796d538b168855ebd2afd62278800151816adcab.tar.gz caelestia-cli-796d538b168855ebd2afd62278800151816adcab.tar.bz2 caelestia-cli-796d538b168855ebd2afd62278800151816adcab.zip | |
feat: impl screenshot command
Diffstat (limited to 'src/caelestia/utils')
| -rw-r--r-- | src/caelestia/utils/paths.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caelestia/utils/paths.py b/src/caelestia/utils/paths.py index 37aeeef..6a98dae 100644 --- a/src/caelestia/utils/paths.py +++ b/src/caelestia/utils/paths.py @@ -28,6 +28,9 @@ wallpaper_link_path = c_state_dir / "wallpaper/current" wallpaper_thumbnail_path = c_state_dir / "wallpaper/thumbnail.jpg" wallpapers_cache_dir = c_cache_dir / "wallpapers" +screenshots_dir = Path.home() / "Pictures/Screenshots" +screenshots_cache_dir = c_cache_dir / "screenshots" + def compute_hash(path: Path | str) -> str: sha = hashlib.sha256() |