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 <leader>bo to
send the current page to outline.
This commit is contained in:
Marty Oehme 2021-03-27 22:25:46 +01:00
parent 72455c22e0
commit d71e4a19fb
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -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")