|
@ -23,5 +23,9 @@ if [[ $HASTEBIN == 1 ]]; then |
|
|
else |
|
|
else |
|
|
link=$(echo $op | cut -f2 -d'/') |
|
|
link=$(echo $op | cut -f2 -d'/') |
|
|
fi |
|
|
fi |
|
|
|
|
|
if [[ -v DISPLAY ]]; then |
|
|
echo ${MKR_BIN}${link} | tee /dev/tty | xclip -selection clipboard |
|
|
echo ${MKR_BIN}${link} | tee /dev/tty | xclip -selection clipboard |
|
|
xdg-open ${MKR_BIN}${link} |
|
|
xdg-open ${MKR_BIN}${link} |
|
|
|
|
|
else |
|
|
|
|
|
echo ${MKR_BIN}${link} |
|
|
|
|
|
fi |
|
|