mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
362 B
15 lines
362 B
#!/bin/sh
|
|
|
|
window=$(xdotool getwindowfocus)
|
|
fps=60
|
|
audio_1="easyeffects_sink.monitor"
|
|
audio_2="easyeffects_source"
|
|
format="mp4"
|
|
v_codec="h264"
|
|
a_codec="opus"
|
|
lenght=20
|
|
output="$HOME/downloads"
|
|
|
|
gpu-screen-recorder -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output &
|
|
notify-send 'Screen record' 'Replay started'
|