changelog shortlog graph tags branches changeset files revisions annotate raw help

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

changeset 95: f69061a590da
author: Richard Westhaver <ellis@rwest.io>
date: Sat, 07 Sep 2024 22:40:44 -0400
permissions: -rwxr-xr-x
description: moonlander concessions
1 #!/usr/bin/env bash
2 slop=$(slop -f "%x %y %w %h %g %i") || exit 1
3 read -r X Y W H G ID <<< $slop
4 ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y ${1:-"${HOME}/$(date +%s).gif"}