From 786980c44e802192e39ae6c98d8d8d3b07dda296 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 22 Sep 2025 23:07:07 +0200 Subject: checkpoint --- bin/guiscripts/vrec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/guiscripts/vrec b/bin/guiscripts/vrec index 91443f4..d7baecf 100755 --- a/bin/guiscripts/vrec +++ b/bin/guiscripts/vrec @@ -117,7 +117,11 @@ case "$option" in ;; last) file="$(find "$dir" -type f -iname '*.mp4' -printf '%Ts %p\n' | sort -n -r | head -n 1 | cut -f 2- -d' ')" - printf '%s' "$file" + if [ -z "$1" ]; then + printf '%s' "$file" | clipp + else + printf '%s' "$file" + fi ;; full) record_cmd 0 0 1920 1080 "$dir" "$output" ;; audio) -- cgit v1.2.3-70-g09d2