update screen recording commands

This commit is contained in:
2022-08-25 15:08:54 -04:00
parent 02edcf2d48
commit d9941f5f9b
3 changed files with 9 additions and 3 deletions

View File

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