dotfiles/scripts/yt-download.sh

6 lines
112 B
Bash
Raw Permalink Normal View History

#!/bin/bash
url=$(xclip -o -selection clipboard)
if [ -n "$url" ]; then
cd $HOME/Videos && yt-dlp "$url"
fi