4 lines
130 B
Bash
4 lines
130 B
Bash
shotpath=$1 # "$HOME/Pictures/Screenshots/screenshot`date +%Y%m%d%H%M%S`.png"
|
|
grim -g "$(slurp)" - | wl-copy
|
|
wl-paste > $shotpath
|