1 2 3 4 5
#!/bin/sh video_path="$HOME/Videos" mkdir -p "$video_path" gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -c mkv -r 30 -o "$video_path"