diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-03-31 20:49:29 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2015-03-31 21:11:47 +0200 |
commit | 8ebac8d38c32bbc028661130fc1ffe746fae9cc4 (patch) | |
tree | 208a123ab01a376cade63b17a485130dd319544c /doc/userscripts.asciidoc | |
parent | eb3b0b960f145c3bfa346e1e836fc264c67fd79f (diff) | |
download | qutebrowser-8ebac8d38c32bbc028661130fc1ffe746fae9cc4.tar.gz qutebrowser-8ebac8d38c32bbc028661130fc1ffe746fae9cc4.zip |
Various spelling fixes.
Diffstat (limited to 'doc/userscripts.asciidoc')
-rw-r--r-- | doc/userscripts.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/userscripts.asciidoc b/doc/userscripts.asciidoc index 5734e0e63..0e34f5d4d 100644 --- a/doc/userscripts.asciidoc +++ b/doc/userscripts.asciidoc @@ -3,14 +3,14 @@ Writing qutebrowser userscripts The Compiler <mail@qutebrowser.org> qutebrowser is extensible by writing userscripts which can be called via the -`:spawn --userscript` command, or via a keybinding. +`:spawn --userscript` command, or via a key binding. These userscripts are similiar to the (non-javascript) dwb userscripts. They can be written in any language which can read environment variables and write to a FIFO. Note for simple things such as opening the current page with another browser or -mpv, a simple keybinding to something like `:spawn mpv {url}` should suffice. +mpv, a simple key binding to something like `:spawn mpv {url}` should suffice. Also note userscripts need to have the executable bit set (`chmod +x`) for qutebrowser to run them. @@ -21,7 +21,7 @@ Getting information The following environment variables will be set when an userscript is launched: - `QUTE_MODE`: Either `hints` (started via hints) or `command` (started via - command or keybinding). + command or key binding). - `QUTE_USER_AGENT`: The currently set user agent. - `QUTE_FIFO`: The FIFO or file to write commands to. |