6 lines
184 B
Plaintext
6 lines
184 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
file=~/Pictures/Screenshots/Screenshot-$(date '+%Y%m%d%H%M%S').png
|
||
|
grim -g "$(slurp)" $file \
|
||
|
&& wl-copy $file \
|
||
|
&& notify-send -i $file "File copied to clipboard"
|