summaryrefslogtreecommitdiff
path: root/scripts/record_window.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/record_window.sh')
-rwxr-xr-xscripts/record_window.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/record_window.sh b/scripts/record_window.sh
index 841b756..f732fb7 100755
--- a/scripts/record_window.sh
+++ b/scripts/record_window.sh
@@ -14,6 +14,6 @@ position=+$(echo $geom | cut -d'+' -f2- | sed "s/+/,/g")
filename=$(date +"$HOME/pics/screenshot/%F_%T.mp4")
echo $size and $position
-ffmpeg -y -f x11grab -video_size $size -i $position $filename
+ffmpeg -y -f x11grab -video_size $size -i $position -f pulse -i default $filename
rm $info