feat: impl recording subcommand

This commit is contained in:
2 * r + 2 * t
2025-06-14 02:11:10 +10:00
parent 9da9d7bb1b
commit b805f8d677
3 changed files with 117 additions and 2 deletions
+4
View File
@@ -31,6 +31,10 @@ wallpapers_cache_dir = c_cache_dir / "wallpapers"
screenshots_dir = Path.home() / "Pictures/Screenshots"
screenshots_cache_dir = c_cache_dir / "screenshots"
recordings_dir = Path.home() / "Videos/Recordings"
recording_path = c_state_dir / "record/recording.mp4"
recording_notif_path = c_state_dir / "record/notifid.txt"
def compute_hash(path: Path | str) -> str:
sha = hashlib.sha256()