aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-11-22 14:27:54 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-11-22 14:27:54 +0100
commite41af2d876e94194310711f1b20f01d75bb85349 (patch)
treec972cae4981f19fdf23c1fe3c69985bed54e1f31
parente156e79997f40693a80908d5c8cb343c78cd4a58 (diff)
downloadscripts-e41af2d876e94194310711f1b20f01d75bb85349.tar.gz
scripts-e41af2d876e94194310711f1b20f01d75bb85349.zip
Added scripts for downloading in a floating window
-rw-r--r--youtube-dlFloat.sh3
-rw-r--r--youtube-dlFloatAudio.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/youtube-dlFloat.sh b/youtube-dlFloat.sh
new file mode 100644
index 0000000..56f5eb0
--- /dev/null
+++ b/youtube-dlFloat.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl -o "~/downloads/videos/%(title)s.%(ext)s" "$1" &
diff --git a/youtube-dlFloatAudio.sh b/youtube-dlFloatAudio.sh
new file mode 100644
index 0000000..1db5d23
--- /dev/null
+++ b/youtube-dlFloatAudio.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+urxvt -title "floating" -geometry "100x8-0-0" -e youtube-dl -o "~/downloads/audios/%(title)s.%(ext)s" -x --audio-format mp3 "$1" &