made it so i just click file and paste YouTube url

Linux is amazing

#! /usr/bin/bash
echo "Enter a url"
read a

yt-dlp -x $a
  • kittenroar@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    22 hours ago

    You could make it an alias and shorten the number of keystrokes

    I prefer keeping my aliases in ~/.bash_aliases, which is sourced in my ~/.bashrc, ie

    . ~/.bash_aliases
    

    Then you would just need to source your bashrc to load it the first time.