configs/scripts/sshot

5 lines
102 B
Bash
Executable file

#!/bin/sh
OUTFILE="/tmp/sshot_$(date -Iseconds).png"
grim -g "$(slurp)" - | tee "$OUTFILE" | wl-copy