dotfiles/bin/.bin/scrot_copy

6 lines
99 B
Plaintext
Raw Normal View History

#!/bin/sh
scrot -s -o /tmp/screenshot.png
xclip -sel clip -i /tmp/screenshot.png -t "image/png"