summaryrefslogtreecommitdiff
path: root/scripts/record_window.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
committerdavidovski <david@davidovski.xyz>2024-05-04 01:15:19 +0100
commit416cb1a8dd5bf3ed6f426048843c95c2e2550f27 (patch)
tree023a75cf0b5926fa25c62f6be923e589bfab0d57 /scripts/record_window.sh
parent2596f818e085ed724597ecb0028ec2536392203b (diff)
add more transparency
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