summaryrefslogtreecommitdiff
path: root/xrec
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-07-15 21:52:19 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2024-07-15 21:52:19 +0300
commitb1afe2649c189f429f3847f71dc840d6a80a048a (patch)
tree2a5cf754d63f9867edcc8781a21def938918010f /xrec
parentdc3c38a2d3eba90470eef10c4274ed4798a57715 (diff)
Added some neat changes to xinitrc and xrec as well as a start for an
install script of packages and their respective configurations. Changes to be committed: modified: X11/xinit new file: install.sh modified: xrec
Diffstat (limited to 'xrec')
-rwxr-xr-xxrec6
1 files changed, 3 insertions, 3 deletions
diff --git a/xrec b/xrec
index 402a6df..867963a 100755
--- a/xrec
+++ b/xrec
@@ -7,13 +7,13 @@ recordingPATH=~/media/screenrecords/
case $1 in
start)
- dunstify -t 2000 -i /dev/null " Recording Starts In 3 Seconds"
+ dunstify -t 3000 -i /dev/null " Recording Starts In 3 Seconds"
sleep 3
- ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 ${recordingPATH}screenrecording_$(($(ls $recordingPATH | wc -l)+1)).mp4 ;;
+ ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+0,0 -crf 16 ${recordingPATH}screenrecording_$(($(ls $recordingPATH | wc -l)+1)).mp4 ;;
stop)
pkill ffmpeg
- dunstify -t 2000 -i /dev/null " Recording Finished"
+ dunstify -t 3000 -i /dev/null " Recording Finished"
;;
esac