diff options
author | defanor <defanor@uberspace.net> | 2017-12-06 10:18:54 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-12-06 10:18:54 +0300 |
commit | d09155bcb8ce047d33ce97c34ae0c972281fe99d (patch) | |
tree | 0f825bdda1a975cfc81930294cc302f1ab1924d2 /README | |
parent | b075319adfe2b12fe81c5a4f8c5257e99e649a54 (diff) |
Add a web.archive.org shortcut into the default configuration
Finding the last HTTP 200 response via the availability API, so a
dummy "web-archive" scheme is added into the default configuration in
order to use a custom command.
The URI_ESCAPED environment variable is also introduced, though not
used here -- but may be handy for similar custom commands.
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -82,7 +82,8 @@ Configuration ------------- Default configuration will be written into XDG configuration -directory, and would look approximately like this:: +directory, and would look approximately like this (slightly +simplified):: externalViewers: png: xdg-open "${FILE}" @@ -91,7 +92,7 @@ directory, and would look approximately like this:: commands: gopher: torify curl "${URI}" ssh: scp "${URI_REGNAME}:${URI_PATH}" /dev/stdout - defaultCommand: ! 'curl --compressed -4 -L "${URI}" -w " + defaultCommand: ! 'curl --compressed -4 -L -w " -pancake- @@ -99,12 +100,13 @@ directory, and would look approximately like this:: type: %{content_type} - "' + " "${URI}"' referenceDigits: 'rstwfpxcvaqzdgb' shortcuts: g: https://m.gutenberg.org/ebooks/search.mobile/?query= ddg: https://duckduckgo.com/lite/?q= wt: https://en.m.wiktionary.org/w/index.php?search= + wa: web-archive:///?url= wp: https://en.m.wikipedia.org/wiki/Special:Search?search= gp: gopher://gopherpedia.com:70/7/lookup? vs: gopher://gopher.floodgap.com/7/v2/vs? |