1
0
Fork 0
dotfiles/bin/screenshot
2022-01-14 20:37:42 -08:00

9 lines
146 B
Bash
Executable file

#!/usr/bin/env bash
ts="$(date "+%Y-%m-%d_%H-%M-%S")"
f="${HOME}/images/screenshots/${ts}.png"
grim -g "$(slurp)" "$f"
echo "$f" >&2
echo "$f"