aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-recording.sh
blob: bf71d6227e5ee5b926b77971a2b6b68d794fa576 (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 default_output -o "$video"