Watch
1
0
Fork
You've already forked dotfiles
0

bin: screencast

This commit is contained in:
Jeremy Kaplan 2026-08-21 03:49:01 -04:00
commit f6fc7a1987
2 changed files with 13 additions and 0 deletions

11
bin/screencast Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
ts="$(date "+%Y-%m-%d_%H-%M-%S")"
f="${HOME}/videos/screencasts/${ts}.mkv"
wf-recorder -g "$(slurp)" -f "$f"
echo "$f" >&2
echo "$f"

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ts="$(date "+%Y-%m-%d_%H-%M-%S")"
f="${HOME}/images/screenshots/${ts}.png"