changelog shortlog graph tags branches changeset file revisions annotate raw help

Mercurial > infra > home / .stash/scripts/rec.sh

revision 95: f69061a590da
     1.1--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2+++ b/.stash/scripts/rec.sh	Sat Sep 07 22:40:44 2024 -0400
     1.3@@ -0,0 +1,4 @@
     1.4+#!/usr/bin/env bash
     1.5+slop=$(slop -f "%x %y %w %h %g %i") || exit 1
     1.6+read -r X Y W H G ID <<< $slop
     1.7+ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y ${1:-"${HOME}/$(date +%s).gif"}