6 DIR
=~
/arc
/vid
/screencasts
8 #EXT=ogv # Low quality for some reason
12 printf 'Proceed? (Y/n)\n'
21 local -r timestamp
=$
(date +'%Y-%m-%d--%H-%M-%S') ||
exit 1
22 local -r file_name
="screen--${timestamp}.$EXT"
23 local -r file_path
="$DIR"/"$file_name"
24 local -r slop
=$
(slop
-f '%x %y %w %h') ||
exit 1
27 read -r X Y W H
<<< "$slop"
28 ffmpeg
-f x11grab
-s "$W"x
"$H" -i :0.0+"$X","$Y" -f pulse
-ac 2 -i default
"$file_path"
This page took 0.059315 seconds and 4 git commands to generate.