mirror of https://github.com/tiyn/dotfiles
parent
6e5fcdec64
commit
0d221f7db0
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
killall -SIGUSR1 gpu-screen-recorder
|
||||||
|
notify-send 'Screen record' 'Replay saved'
|
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
window=$(xdotool getwindowfocus)
|
||||||
|
fps=30
|
||||||
|
audio="$(pactl get-default-sink).monitor"
|
||||||
|
format="mp4"
|
||||||
|
lenght=20
|
||||||
|
output="$HOME/downloads"
|
||||||
|
|
||||||
|
gpu-screen-recorder -w $window -f $fps -a $audio -c $format -r $lenght -o $output
|
||||||
|
notify-send 'Screen record' 'Replay started'
|
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
window=$(xdotool getwindowfocus)
|
||||||
|
fps=30
|
||||||
|
audio="$(pactl get-default-sink).monitor"
|
||||||
|
format="mp4"
|
||||||
|
output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
|
||||||
|
|
||||||
|
gpu-screen-recorder -w $window -c "mp4" -f $fps -a $audio -o $output
|
||||||
|
notify-send 'Screen record' 'Recording started'
|
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
killall -SIGINT gpu-screen-recorder
|
||||||
|
notify-send 'Screen record' 'Recording stopped'
|
Loading…
Reference in new issue