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