dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

slopvid (187B)


      1 #!/bin/sh
      2 
      3 [ -z $1 ] && echo "usage: slopvid <output file>" && exit
      4 
      5 dim=$(slop | sed 's/+/,/g2')
      6 [ "$dim" = "" ] && exit 1
      7 ffmpeg -s "${dim%%+*}" -f x11grab -i $DISPLAY+${dim##*+} -y $1