dotfiles/scripts/start_replay.sh

7 lines
225 B
Bash
Raw Normal View History

2024-05-24 00:20:58 +02:00
#!/bin/sh
2024-05-24 00:20:58 +02:00
mkdir -p "$video_path"
echo "Screen" > /tmp/replay.tmp
gpu-screen-recorder -w screen -k h264 -f 60 -a "$(pactl get-default-sink).monitor|$(pactl get-default-source)" -c mp4 -r 150 -o "$HOME/Videos/Replays/screen"