Packages zenity, xsel, xterm and youtube-dl must be installed.
Copy video address and choose ”Yes” for downloading the video. Video goes to the same directory, where the script is.
zenity --question --text "youtube dl, xsel and xterm must be installed, so that script would working. If them are installed choose Yes and continue to download the video?"
if [ $? = 0 ];
xterm -e youtube-dl $video && zenity --info --text "Video downloaded!" && xdg-open $PWD
else exit 0