From 39931e285a495b86445e33b8e14cc820392c2c9e Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 19 Jun 2022 14:32:15 +0200 Subject: Fixed some inconsistent qutebrowser youtube-dl bindings. --- stow/qutebrowser/.config/qutebrowser/config.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'stow') diff --git a/stow/qutebrowser/.config/qutebrowser/config.py b/stow/qutebrowser/.config/qutebrowser/config.py index f4af378..a5c87c8 100644 --- a/stow/qutebrowser/.config/qutebrowser/config.py +++ b/stow/qutebrowser/.config/qutebrowser/config.py @@ -1593,27 +1593,27 @@ config.bind('U', 'undo') config.bind(',v', 'spawn mpv {url}') config.bind(',fv', 'hint links spawn mpv {hint-url}') config.bind(',Fv', 'hint all spawn mpv {hint-url}') -config.bind(',V', 'spawn /home/taamas/scripts/floats/mpvFloat.sh {url}') +config.bind(',V', 'spawn mpvFloat.sh {url}') config.bind(',fV', 'hint links spawn mpvFloat.sh {hint-url}') config.bind(',FV', 'hint all spawn mpvFloat.sh {hint-url}') #download url's video -config.bind(',d', 'spawn youtube-dl --all-subs --embed-subs -o ~/downloads/videos/%(title)s.%(ext)s {url}') +config.bind(',d', 'spawn youtube-dl.sh {url}') # same as previous, but showing urxvt -config.bind(',D', 'spawn /home/taamas/scripts/floats/youtube-dlFloat.sh {url}') +config.bind(',D', 'spawn youtube-dlFloat.sh {url}') # two same commands, using hints instead than current 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 /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}') -config.bind(',FD', 'hint all spawn /home/taamas/scripts/floats/youtube-dlFloat.sh {hint-url}') -# download url's audio in mp3 in ~/music/qutebrowser -config.bind(',a', 'spawn youtube-dl -o ~/music/qutebrowser/%(title)s.%(ext)s -x --audio-format mp3 --embed-thumbnail {url}') -# same as previous, but showing urxvt -config.bind(',A', 'spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {url}') +config.bind(',fD', 'hint links spawn youtube-dlFloat.sh {hint-url}') +config.bind(',FD', 'hint all spawn youtube-dlFloat.sh {hint-url}') +# download url's audio +config.bind(',a', 'spawn youtube-dlAudio.sh {url}') +# same as previous, but showing floating terminal +config.bind(',A', 'spawn youtube-dlFloatAudio.sh {url}') # two same commands, using hints instead than current url -config.bind(',fa', 'hint links spawn /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}') -config.bind(',Fa', 'hint all spawn /home/taamas/scripts/floats/youtube-dlAudio.sh {hint-url}') -config.bind(',fA', 'hint links spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}') -config.bind(',FA', 'hint all spawn /home/taamas/scripts/floats/youtube-dlFloatAudio.sh {hint-url}') +config.bind(',fa', 'hint links spawn youtube-dlAudio.sh {hint-url}') +config.bind(',Fa', 'hint all spawn youtube-dlAudio.sh {hint-url}') +config.bind(',fA', 'hint links spawn youtube-dlFloatAudio.sh {hint-url}') +config.bind(',FA', 'hint all spawn youtube-dlFloatAudio.sh {hint-url}') # open images with corresponding script config.bind(',i', 'spawn showURLimage.sh {url}') config.bind(',fi', 'hint images spawn showURLimage.sh {hint-url}') -- cgit v1.2.1