aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfloats/youtube-dlFloatAudio.sh2
-rw-r--r--youtube-dlAudio.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/floats/youtube-dlFloatAudio.sh b/floats/youtube-dlFloatAudio.sh
index a272abb..1988653 100755
--- a/floats/youtube-dlFloatAudio.sh
+++ b/floats/youtube-dlFloatAudio.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl -o "$HOME/downloads/audios/%(title)s.%(ext)s" -x --audio-format mp3 --embed-thumbnail "$1"
+urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dlAudio.sh "$1"
diff --git a/youtube-dlAudio.sh b/youtube-dlAudio.sh
new file mode 100644
index 0000000..ac16b71
--- /dev/null
+++ b/youtube-dlAudio.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+youtube-dl -o "$HOME/downloads/audios/%(title)s.%(ext)s" -x --audio-format mp3 --embed-thumbnail "$1"