fix pams -r

This commit is contained in:
opfez 2021-06-09 12:48:03 +02:00
parent 83b0e638f1
commit 82c93abeb5
2 changed files with 3 additions and 2 deletions

3
pams
View File

@ -71,7 +71,8 @@ else
-r) if [ $# -ne 2 ]; then
err_add_args
else
rm -rf "{$aur/$2:?}"
echo "deleting $aur/$2"
rm -rf "$aur/$2"
fi
;;

2
rec
View File

@ -1,4 +1,4 @@
#!/bin/sh
RESOLUTION=1920x1080
ffmpeg -f x11grab -s $RESOLUTION -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y out.webm
ffmpeg -video_size $RESOLUTION -framerate 25 -f x11grab -loglevel quiet -i :0.0 out.mp4