bin: screencast
This commit is contained in:
parent
ad6d084963
commit
f6fc7a1987
2 changed files with 13 additions and 0 deletions
11
bin/screencast
Executable file
11
bin/screencast
Executable 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"
|
||||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue