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