scripts

various script and utils
git clone git://z3bra.org/scripts
Log | Files | Refs

commit 63d856c03be70f39d3b411059877a02b329ce813
parent 2e0a6261e9bee32d21a51c4c1168b31cee6ae5eb
Author: z3bra <willy@mailoo.org>
Date:   Thu Feb  5 14:10:42 +0100

xgof: made variable uppercase... I got bored, probably

Diffstat:
xgif | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/xgif b/xgif @@ -20,6 +20,7 @@ esac # the size of your window manager borders, to include them in the gif BORDERS=${BORDER:-2} +FIFO=${FIFO:-/tmp/xgif-$$.fifo} # let the user grab a window geom=$(xwininfo|grep -E "Wid|Hei|Abs"|sed 's/.*:\s*//g'|tr '\n' :|sed 's/:$//') @@ -35,11 +36,10 @@ w=$(( $w + 2 * $BORDERS)) h=$(( $h + 2 * $BORDERS)) # this hackery serves the purpose of recording until the user press ^D -fifo="/tmp/xgif-$$.fifo" -test -p $fifo || mkfifo $fifo +test -p $FIFO || mkfifo $FIFO -byzanz-record -x $x -y $y -w $w -h $h -e "cat $fifo" $1 & +byzanz-record -x $x -y $y -w $w -h $h -e "cat $FIFO" $1 & # will hold the fifo openned until ^D is pressed -cat > $fifo -rm $fifo +cat > $FIFO +rm $FIFO