1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-05-02 14:27:46 +02:00

Merge branch 'master' of ghthub:tiyn/dotfiles

This commit is contained in:
tiyn 2025-04-25 01:57:54 +02:00
commit 632dccff14

View File

@ -5,7 +5,7 @@ audio_2=${CAPTURE_OUTPUT_AUDIO:-easyeffects_source}
output=${CAPTURE_DIR:-$HOME/downloads} output=${CAPTURE_DIR:-$HOME/downloads}
device=${CAPTURE_DEVICE:-cpu} device=${CAPTURE_DEVICE:-cpu}
fps=30 fps=60
format="mp4" format="mp4"
v_codec="h264" v_codec="h264"
a_codec="aac" a_codec="aac"
@ -17,5 +17,5 @@ elif [ $DISPLAY_SERVER = "xorg" ]; then
window=$(xdotool getwindowfocus) window=$(xdotool getwindowfocus)
fi fi
gpu-screen-recorder -encoder $device -w $window -c $format -k $v_codec -ac $a_codec -f $fps -o $output & gpu-screen-recorder -encoder $device -w $window -c $format -k $v_codec -ac $a_codec -f $fps -o $output -a $audio_1 -a $audio_2 &
notify-send -u low 'Screen record' 'Recording started' notify-send -u low 'Screen record' 'Recording started'