add screen recording scripts

This commit is contained in:
cho 2024-01-31 19:09:01 +07:00
parent f93d2a6558
commit 4d04b14349
2 changed files with 12 additions and 0 deletions

View File

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

View File

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