Using xsel in boop a bit better

This commit is contained in:
Siina Mashek 2022-03-13 06:19:23 +02:00
parent 0163632bd4
commit 7e60913ee3

View File

@ -9,6 +9,6 @@ if [ ! -f "/usr/bin/xsel" ]; then
fi fi
url=$(curl -F"file=@$1" $remote) url=$(curl -F"file=@$1" $remote)
echo "$url" | tr -d '\n' | xsel -ib echo "$url" | tr -d '\n' | xsel -ib -l /tmp/xsel.log
mpv $sound mpv $sound