aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-recording.sh
blob: 455065ecbc9119f25234491ccf25670fdff4d8e5 (plain)
1
2
3
4
5
#!/bin/sh

pidof -q gpu-screen-recorder && exit 1
video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -o "$video"