diff options
| author | Ben Sima <ben@bsima.me> | 2020-02-25 07:47:23 -0800 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2020-02-25 07:47:23 -0800 |
| commit | 3b08b959f80b8eeea5a05e12321e0d5396633ddc (patch) | |
| tree | d7390c19f57e71fa07bc5371a26e7a6928d063c7 /vlog | |
| parent | 41ac9c0453a4aa61ca06f2958b107e3e4d7acdfc (diff) | |
Add VLOGDIR to vlog script
Diffstat (limited to 'vlog')
| -rwxr-xr-x | vlog | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,10 +1,13 @@ #! /usr/bin/env nix-shell #! nix-shell -i bash -p ffmpeg # -# https://gist.github.com/dpacmittal/9f0e1aea8a3732d8f7aec7b1dadc8cda +# Records screen and camera (in corner). Saves result to $VLOGDIR. +# +# c.f. https://gist.github.com/dpacmittal/9f0e1aea8a3732d8f7aec7b1dadc8cda +# FILE=$(date +%Y.%m.%d..%H.%M) -DIR=/mnt/lake/ben/videos +DIR=${VLOGDIR:-/mnt/lake/ben/videos} SIZE=1920x1080 OUTFILE="$DIR/$FILE.mkv" |
