From 026772440533a3160544741a1386f8f98d0c5417 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 19 May 2023 23:43:45 -0700 Subject: change time.uuid to time-uuid in scripts --- home/xyz/.local/bin/reco | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/xyz/.local/bin/reco b/home/xyz/.local/bin/reco index 068e6ad8..7ee726d2 100755 --- a/home/xyz/.local/bin/reco +++ b/home/xyz/.local/bin/reco @@ -14,11 +14,11 @@ if [ -e "$infofile" ]; then read -r pid tmpfile < "$infofile" kill "$pid" notify-send 'finish recording, start converting' - ffmpeg -i "$tmpfile" "$recodir/$(time.uuid).mkv" + ffmpeg -i "$tmpfile" "$recodir/$(time-uuid).mkv" notify-send 'finish converting' rm "$tmpfile" "$infofile" else - tmpfile="$tmpdir/$(time.uuid).mkv" + tmpfile="$tmpdir/$(time-uuid).mkv" notify-send 'prepare recording' # arch wiki way, no audio, less cpu use during capturing (fast?), large file size, need convert afterward xrectsel '%w %h %x %y' | xargs sh -c 'ffmpeg -y -loglevel quiet -f x11grab -framerate 25 -s "$2x$3" -i "$DISPLAY+$4,$5" -c:v ffvhuff "$1" & echo $!' shell "$tmpfile" | xargs -I {} printf '%s\t%s' '{}' "$tmpfile" > "$infofile" -- cgit v1.2.3-70-g09d2