#!/bin/bash url=$(xclip -o -selection clipboard) if [ -n "$url" ]; then mpv "$url" fi