dotfiles/home/default/scripts/record-screen

7 lines
192 B
Plaintext
Raw Normal View History

2021-11-29 13:00:19 -05:00
#!/bin/sh
2022-08-25 15:08:54 -04:00
# record video
2021-11-29 13:00:19 -05:00
dir=~/Downloads/temp
2024-08-16 20:20:17 -04:00
(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)
2021-11-29 13:00:19 -05:00
xdg-open $dir