From d71e4a19fb6f946458ccbef109e3658e3655259d Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 27 Mar 2021 22:25:46 +0100 Subject: [PATCH] qutebrowser: Add sending to outline command Added a command to send the current page to the outline service, which acts as a readability layer (and lets you read e.g. medium articles without pulling your hair out). Just use the `send-to-outline` command, or use keymapping bo to send the current page to outline. --- qutebrowser/.config/qutebrowser/config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index f048091..672d580 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -121,8 +121,11 @@ config.bind(leader + "bw", "add-wallabag", mode="normal") c.aliases["add-shaarli"] = "spawn --userscript shaarli_add.sh" config.bind(leader + "bs", "add-shaarli", mode="normal") # re-opens the current page on the web archive overview page -c.aliases["archive-open"] = "open https://web.archive.org/web/{url}" -config.bind(leader + "ba", "archive-open", mode="normal") +c.aliases["send-to-archive"] = "open https://web.archive.org/web/{url}" +config.bind(leader + "ba", "send-to-archive", mode="normal") +# sends current page to outline and thus through readability mode +c.aliases["send-to-outline"] = "open https://outline.com/{url}" +config.bind(leader + "bo", "send-to-outline", mode="normal") # translate current page / selection with google translate c.aliases["translate-page"] = "spawn --userscript translate_google.sh" c.aliases["translate-selection"] = "spawn --userscript translate_google.sh --text" @@ -176,4 +179,5 @@ c.url.searchengines = { } # give the browser nice theme colors + config.source("colorscheme.py")