diff options
| author | Raymaekers Luca <luca@spacehb.net> | 2025-09-22 23:07:07 +0200 |
|---|---|---|
| committer | Raymaekers Luca <luca@spacehb.net> | 2025-09-22 23:07:07 +0200 |
| commit | 786980c44e802192e39ae6c98d8d8d3b07dda296 (patch) | |
| tree | b09b0b746eb92aaee8468485d57b6cbf1657f899 /bin | |
| parent | 5cd2cef151c5aa8102ee4555a02634d911c0c9dc (diff) | |
checkpoint
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/guiscripts/vrec | 6 |
1 files changed, 5 insertions, 1 deletions
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) |
