dots/bin/record_nosound

8 lines
135 B
Bash
Executable File

#!/bin/bash
if [[ -z "$1" ]]; then
file="$(date +%Y-%M-%d_%H:%m)"
else
file="$1"
fi
wf-recorder -g "$(slurp)" --file="${file}.mp4"