configs/scripts/sshot

5 lines
102 B
Plaintext
Raw Normal View History

2021-07-16 22:05:07 +02:00
#!/bin/sh
OUTFILE="/tmp/sshot_$(date -Iseconds).png"
grim -g "$(slurp)" - | tee "$OUTFILE" | wl-copy