summaryrefslogtreecommitdiff
path: root/vlog
diff options
context:
space:
mode:
Diffstat (limited to 'vlog')
-rwxr-xr-xvlog7
1 files changed, 5 insertions, 2 deletions
diff --git a/vlog b/vlog
index 3a4ace7..0f79787 100755
--- a/vlog
+++ b/vlog
@@ -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"