Some lappy changes

This commit is contained in:
Chris Cochrun 2021-06-22 07:08:06 -05:00
parent dc40c281e1
commit d744bb7a31
7 changed files with 77 additions and 23 deletions

View file

@ -2482,13 +2482,17 @@ config.bind("o", "set-cmd-text -s :open")
# config.bind('y', 'prompt-accept yes', mode='yesno')
## Bindings for MPV and YTDL
config.bind("v", "hint links spawn --detach mpv --force-window yes {hint-url}")
config.bind("gv", "spawn --detach mpv --force-window yes --ytdl=bestvideo[height<=?720][fps<=?30]+bestaudio/best {url}")
config.bind("v", "hint links spawn --detach mpv --profile=fast --force-window yes {hint-url}")
config.bind("gv", "spawn --detach mpv --profile=fast --force-window yes --ytdl=bestvideo[height<=?720][fps<=?30]+bestaudio/best {url}")
config.bind("gc", 'spawn org-capture "{url}"')
config.bind(
"gV",
"hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}",
)
config.bind(
"ga",
"hint links spawn alacritty -e youtube-dl -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata -o ~/Music/%(title)s.%(ext)s {hint-url}",
)
config.bind('d', 'tab-close')