Marty Oehme
7e2da571e7
Added script which takes you to the corresponding sci-hub entry for any DOI. DOIs can be passed in three ways: - via hinted link (shortcut `;p` to start hinting) - via selected text (select text then invoke `send-to-scihub` command with `"p`) - or from meta tags in current page (invoke `send-to-scihub` command with `"p` when on article page) It will grab the newest sci-hub link and attempt to bring you the corresponding pdf file.
36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
c.aliases["gem"] = "hint links userscript qute-gemini"
|
|
|
|
# Use q for quitting a tab (mimicks vim buffer) - qa is used for exiting
|
|
c.aliases["q"] = "tab-close"
|
|
# if we save sessions with w, load sessions with e (again, mimicks vim)
|
|
c.aliases["e"] = "session-load"
|
|
|
|
# wallabag add current page, either with walla command, or <leader>bw
|
|
c.aliases["add-wallabag"] = "spawn --userscript wallabag_add.sh"
|
|
|
|
# add to (my) shaarli instance
|
|
c.aliases["add-shaarli"] = "spawn --userscript shaarli_add.sh"
|
|
|
|
# re-opens the current page on the web archive overview page
|
|
c.aliases["send-to-archive"] = "open https://web.archive.org/web/{url}"
|
|
|
|
# save current page to pdf file
|
|
c.aliases["save_to_pdf"] = "spawn --userscript pagetopdf.sh"
|
|
# open sci-hub pdf for doi
|
|
c.aliases["send-to-scihub"] = "spawn --userscript doi2scihub"
|
|
|
|
# translate current page / selection with google translate
|
|
c.aliases["translate-page-google"] = "spawn --userscript translate_google.sh"
|
|
c.aliases[
|
|
"translate-selection-google"
|
|
] = "spawn --userscript translate_google.sh --text"
|
|
|
|
# print picture of current url as qr code
|
|
c.aliases["show-qr"] = "spawn --userscript qr"
|
|
|
|
# add a task of current page to taskwarrior
|
|
c.aliases["taskadd"] = "spawn --userscript taskadd"
|
|
|
|
# try to remove the cookie banner from a website
|
|
c.aliases["cookie-block"] = "spawn --userscript qute-cookie-block"
|