dotfiles/home/default/scripts/record-screen
2024-08-16 20:20:17 -04:00

7 lines
192 B
Bash
Executable File

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