summaryrefslogtreecommitdiff
path: root/yt.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-12-09 18:27:45 -0500
committerAdam T. Carpenter <atc@53hor.net>2020-12-09 18:27:45 -0500
commita8a22fd752cc2a095be34c5f9007c4f6516831c5 (patch)
tree697944764f5fc27d677e39773fb6c25837227bf3 /yt.sh
parentcfb2e53ee1bbe747a10ceb3e0eca25daa454382b (diff)
downloadscripts-a8a22fd752cc2a095be34c5f9007c4f6516831c5.tar.xz
scripts-a8a22fd752cc2a095be34c5f9007c4f6516831c5.zip
fixed docking detach not being able to see screen
Diffstat (limited to 'yt.sh')
-rwxr-xr-xyt.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt.sh b/yt.sh
index 2ec834e..8fcf8c5 100755
--- a/yt.sh
+++ b/yt.sh
@@ -86,7 +86,7 @@ download_video() {
-q \
--add-metadata \
-o "$DOWNLOAD_DIR/%(title)s_%(id)s.%(ext)s" \
- $url && notify-send "Video download done." "$info" &
+ "$url" && notify-send "Video download done." "$info" &
}
@@ -102,7 +102,7 @@ download_audio() {
-x \
--audio-format flac \
--audio-quality 0 \
- $url && notify-send "Audio download done." "$info" &
+ "$url" && notify-send "Audio download done." "$info" &
}