#!/bin/sh remote="https://boop.icu" sound="${HOME}/.local/share/sounds/success.ogg" url=$(curl -F"file=@$1" $remote) echo "$url" | xsel -ib mpv $sound