dotfiles/home/default/scripts/record-screen

7 lines
146 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
2022-08-25 15:08:54 -04:00
(cd $dir && wf-recorder -g "$(slurp)" --audio --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
2021-11-29 13:00:19 -05:00
xdg-open $dir