dotfiles/home/default/scripts/record-screen-no-audio

7 lines
140 B
Bash
Executable File

#!/bin/sh
# record video
dir=~/Downloads/temp
(cd $dir && wf-recorder -g "$(slurp)" --file="$(date +%Y-%m-%d_%H-%m-%s).mp4")
xdg-open $dir