feat: impl screenshot command

This commit is contained in:
2 * r + 2 * t
2025-06-13 00:42:46 +10:00
parent 558a086bcd
commit 796d538b16
4 changed files with 74 additions and 14 deletions
+3
View File
@@ -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()