summaryrefslogtreecommitdiff
path: root/bin/guiscripts
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-11-02 12:00:21 +0100
committerRaymaekers Luca <luca@spacehb.net>2025-11-02 12:00:21 +0100
commit7605cd078a079eb8cbbc86053e49173acc8525ff (patch)
treebfcfc46f8c799895c3d63f2f05a9b252fe7f2e6d /bin/guiscripts
parent21f85ba7992a9f2f2cc1192abd655a2eb010d959 (diff)
checkpoint
Diffstat (limited to 'bin/guiscripts')
-rwxr-xr-xbin/guiscripts/vrec2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/guiscripts/vrec b/bin/guiscripts/vrec
index d7baecf..4927f8d 100755
--- a/bin/guiscripts/vrec
+++ b/bin/guiscripts/vrec
@@ -43,6 +43,7 @@ record_cmd()
printf '%s\n' "$5/$6.mp4"
herbe "vrec" "started recording." # use notification to know when recording started
+
w=$(($3 + $3 % 2))
h=$(($4 + $4 % 2))
ffmpeg $audio \
@@ -113,7 +114,6 @@ case "$option" in
pid="$(pgrep ffmpeg | xargs ps | grep 'x11grab' | awk '{print $1}')"
[ "$pid" ] && kill -TERM $pid
rm -f "$lock"
- herbe "vrec" "stopped recording." &
;;
last)
file="$(find "$dir" -type f -iname '*.mp4' -printf '%Ts %p\n' | sort -n -r | head -n 1 | cut -f 2- -d' ')"