5 lines
120 B
Bash
5 lines
120 B
Bash
xclipimg() {
|
|
filename=$1
|
|
mimetype="$(file $1 -b --mime-type)"
|
|
xclip -selection clipboard -t $mimetype -i $filename
|
|
}
|