This commit is contained in:
Nox Sluijtman 2023-11-07 02:02:58 +01:00
parent ce247ad2d6
commit 85ceda15e6

2
arbit
View file

@ -39,7 +39,7 @@ clipboardQuery(){
downloadClipUrl(){ downloadClipUrl(){
getClip getClip
notify-send "Arbit" "Downloading video to ${downloadDir}" notify-send "Arbit" "Downloading video to ${downloadDir}"
if yt-dlp -o "${downloadDir}/%(title)s - %(uploader)s.%(ext)s" "${clipboardContent}" if yt-dlp --embed-chapters --embed-metadata --embed-subs -o "${downloadDir}/%(title)s - %(uploader)s.%(ext)s" "${clipboardContent}"
then notify-send "Arbit" "Finished downloading video." then notify-send "Arbit" "Finished downloading video."
else die "Failed to download file" else die "Failed to download file"
fi fi