summaryrefslogtreecommitdiff
path: root/doc/userscripts.asciidoc
diff options
context:
space:
mode:
authorpkill9 <none@none.com>2017-01-30 11:48:10 +0000
committerpkill9 <none@none.com>2017-02-01 09:29:05 +0000
commit8ad28719abd8f358afefc8b5240762ae2ee3be65 (patch)
treed3d2c9c925fa9e4631e9ec8cab82bd7049daa322 /doc/userscripts.asciidoc
parent90f472bf590b6fdb3e7f4158ae420002ccbdee17 (diff)
downloadqutebrowser-8ad28719abd8f358afefc8b5240762ae2ee3be65.tar.gz
qutebrowser-8ad28719abd8f358afefc8b5240762ae2ee3be65.zip
Add "QUTE_COMMANDLINE_TEXT" environment variable for userscripts.
- Added "QUTE_COMMANDLINE_TEXT" environment variable for userscripts. - Updated documentation to include "QUTE_COMMANDLINE_TEXT" environment variable for userscripts.
Diffstat (limited to 'doc/userscripts.asciidoc')
-rw-r--r--doc/userscripts.asciidoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/userscripts.asciidoc b/doc/userscripts.asciidoc
index 433c71ff0..8904d0ef3 100644
--- a/doc/userscripts.asciidoc
+++ b/doc/userscripts.asciidoc
@@ -38,6 +38,7 @@ The following environment variables will be set when a userscript is launched:
- `QUTE_CONFIG_DIR`: Path of the directory containing qutebrowser's configuration.
- `QUTE_DATA_DIR`: Path of the directory containing qutebrowser's data.
- `QUTE_DOWNLOAD_DIR`: Path of the downloads directory.
+- `QUTE_COMMANDLINE_TEXT`: Text currently in qutebrowser's command line. (Depends on which window the userscript is launched in)
In `command` mode: