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

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