2021-10-01 19:32:53 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-04-09 15:50:46 +02:00
|
|
|
filename="/home/qv/Pictures/screenshots/$(date -u +"%Y-%m-%d%H%M%S")-screenshot.png"
|
|
|
|
selection=$(hacksaw -f "-i %i -g %g")
|
|
|
|
shotgun $selection $filename
|
|
|
|
xclip -t 'image/png' -selection clipboard < $filename
|