From b6690c209d15f0b40e61ea7b48077eb4607e04ac Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Sat, 21 May 2022 18:23:30 -0700 Subject: [PATCH] Make qutebrowser-spawned mpv always have a window Kind of sucks if you open an mp3 and no windows appears because you have to then use a shell or qute's process handling to make it stop :) --- .config/qutebrowser/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 653bbe5..21b07d6 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -327,8 +327,8 @@ c.url.default_page = 'https://start.duckduckgo.com' c.editor.command = ['/home/trysdyn/bin/kitty-float', 'vim', '{file}'] # Custom bindings -config.bind(',m', 'spawn mpv {url}') -config.bind(',M', 'hint links spawn mpv {hint-url}') +config.bind(',m', 'spawn mpv --force-window {url}') +config.bind(',M', 'hint links spawn mpv --force-window {hint-url}') # Set using both adblock methods available c.content.blocking.enabled = True