qutebrowser: Change qute-gemini to open tab related

Using the userscript qute-gemini to open any tabs
(if invoked as qute-gemini-tab) to be related to
the current tab.
This commit is contained in:
Marty Oehme 2023-08-25 16:32:22 +02:00
parent 8bf61fc582
commit c781693c26
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -385,7 +385,7 @@ def open_url(url: str, open_args: str) -> None:
if __name__ == "__main__":
# Open in the current or a new tab depending on the script name
if sys.argv[0].endswith("-tab"):
open_args = "-t"
open_args = "-b -r"
else:
open_args = ""