os/+arch/bin/rec: use default sound device
This commit is contained in:
parent
138a41454c
commit
2f08502689
|
@ -5,6 +5,6 @@
|
||||||
read -r X Y W H G ID < <(slop -f "%x %y %w %h %g %i")
|
read -r X Y W H G ID < <(slop -f "%x %y %w %h %g %i")
|
||||||
dest=${1:-$(mktemp -t recXXX.webm)}
|
dest=${1:-$(mktemp -t recXXX.webm)}
|
||||||
|
|
||||||
ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y -f alsa "$dest"
|
ffmpeg -f x11grab -s "$W"x"$H" -i :0.0+$X,$Y "$dest"
|
||||||
|
|
||||||
# vim:set ft=sh:
|
# vim:set ft=sh:
|
||||||
|
|
Loading…
Reference in a new issue