From ac142f6e4a7e8dc04f8c73e4d5a7a3ef0e8e0eb5 Mon Sep 17 00:00:00 2001 From: DeeJanuz <45082401+DeeJanuz@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:26:59 -0600 Subject: [PATCH] ft-cutouts status: only the current run's tracker lines Co-Authored-By: Claude Opus 5.5 --- hands/ft-cutouts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hands/ft-cutouts b/hands/ft-cutouts index 554e738..f678c9d 100755 --- a/hands/ft-cutouts +++ b/hands/ft-cutouts @@ -50,7 +50,8 @@ case ${1:-status} in status) for u in $camd $hands; do echo "$u: $(systemctl --user is-active $u || true)"; done echo "ft-screens cutouts: $("$here/ft-handsctl" cutouts state 2>&1)" - journalctl --user -u $hands --no-pager -o cat -n 40 | + inv=$(systemctl --user show -p InvocationID --value $hands) # this run's lines only + [ -n "$inv" ] && journalctl --user _SYSTEMD_INVOCATION_ID="$inv" --no-pager -o cat | grep -E '^ *[0-9.]+s |sets with a hand|cameras:' | tail -2 | cut -c1-160 || true ;; *) sed -n '2,10p' "$0" | sed 's/^# \{0,1\}//'; exit 2 ;; esac