dotfiles/.local/bin/screentoclip

4 lines
81 B
Bash
Executable File

#!/bin/sh
scrot -s -e 'xclip -selection clipboard -t image/png -i $f'
rm ~/*.png