I have youtube-dl and xclip installed.
Is there a way I could write a script that can run commands from both?
For example: youtube-dl -l --extract-audio (url)
but instead of pasting a url could I have xclip paste what's in my clipboard with the command: xclip -o
I am a complete noob when it comes to scripting and not even sure what I should use to write the script, as far as I can tell I should use Bash.