aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-09-25 01:50:09 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-09-25 01:50:09 +0200
commitd96f1c6eb730b702ac7059308b364665096af35b (patch)
treee139c393983810417274cf028a080cff603cec17
parent50b967b4d491ac33c48909ecc6ddd1b387795da5 (diff)
downloadconfigs-d96f1c6eb730b702ac7059308b364665096af35b.tar.gz
configs-d96f1c6eb730b702ac7059308b364665096af35b.zip
qutebrowser now uses more custom scripts instead of specific commands.
-rw-r--r--files/qutebrowser/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/qutebrowser/config.py b/files/qutebrowser/config.py
index 72e2ff5..7c348f5 100644
--- a/files/qutebrowser/config.py
+++ b/files/qutebrowser/config.py
@@ -1576,8 +1576,8 @@ config.bind(',d', 'spawn youtube-dl --all-subs --embed-subs -o ~/downloads/video
# same as previous, but showing urxvt
config.bind(',D', 'spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {url}')
# two same commands, using hints instead than current url
-config.bind(',fd', 'hint links spawn youtube-dl --all-subs --embed-subs -o ~/downloads/videos/%(title)s.%(ext)s {hint-url}')
-config.bind(',Fd', 'hint all spawn youtube-dl --all-subs --embed-subs -o ~/downloads/videos/%(title)s.%(ext)s {hint-url}')
+config.bind(',fd', 'hint links spawn youtube-dl.sh {hint-url}')
+config.bind(',Fd', 'hint all spawn youtube-dl.sh {hint-url}')
config.bind(',fD', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
config.bind(',FD', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}')
# download url's audio in mp3 in ~/music/qutebrowser
@@ -1585,8 +1585,8 @@ config.bind(',a', 'spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x
# same as previous, but showing urxvt
config.bind(',A', 'spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {url}')
# two same commands, using hints instead than current url
-config.bind(',fa', 'hint links spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 --embed-thumbnail {hint-url}')
-config.bind(',Fa', 'hint all spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 --embed-thumbnail {hint-url}')
+config.bind(',fa', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
+config.bind(',Fa', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}')
config.bind(',fA', 'hint links spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
config.bind(',FA', 'hint all spawn i3-msg exec /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}')
# open images with corresponding script