summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-03 16:24:01 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-03 16:24:01 +0100
commit224f530d7bd965947dc0ab45dad083b89cd43769 (patch)
tree85851bb2b07222003d5947207f6ec4a105dc79eb /doc
parent610bcc7d8399fab45bdf27b310ffc0726fca30b1 (diff)
downloadqutebrowser-224f530d7bd965947dc0ab45dad083b89cd43769.tar.gz
qutebrowser-224f530d7bd965947dc0ab45dad083b89cd43769.zip
Update docs
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog.asciidoc3
-rw-r--r--doc/help/settings.asciidoc14
2 files changed, 11 insertions, 6 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index c8590ba80..a67c7d088 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -56,6 +56,9 @@ Changed
command history anymore (similar to how some shells work).
- When a tab is pinned, running `:open` will now open a new tab instead of
displaying an error.
+- The `fileselect.*.command` settings now support file selectors writing the
+ selected paths to stdout, which is used if no `{}` placeholder is contained in
+ the configured command.
Fixed
~~~~~
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index 7d0b3469c..392f60c49 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -207,8 +207,8 @@
|<<editor.command,editor.command>>|Editor (and arguments) to use for the `edit-*` commands.
|<<editor.encoding,editor.encoding>>|Encoding to use for the editor.
|<<fileselect.handler,fileselect.handler>>|Handler for selecting file(s) in forms. If `external`, then the commands specified by `fileselect.single_file.command` and `fileselect.multiple_files.command` are used to select one or multiple files respectively.
-|<<fileselect.multiple_files.command,fileselect.multiple_files.command>>|Command (and arguments) to use for selecting multiple files in forms. The command should write the selected file paths to the specified file, separated by newlines.
-|<<fileselect.single_file.command,fileselect.single_file.command>>|Command (and arguments) to use for selecting a single file in forms. The command should write the selected file path to the specified file.
+|<<fileselect.multiple_files.command,fileselect.multiple_files.command>>|Command (and arguments) to use for selecting multiple files in forms. The command should write the selected file paths to the specified file or to stdout, separated by newlines.
+|<<fileselect.single_file.command,fileselect.single_file.command>>|Command (and arguments) to use for selecting a single file in forms. The command should write the selected file path to the specified file or stdout.
|<<fonts.completion.category,fonts.completion.category>>|Font used in the completion categories.
|<<fonts.completion.entry,fonts.completion.entry>>|Font used in the completion widget.
|<<fonts.contextmenu,fonts.contextmenu>>|Font used for the context menu.
@@ -2825,9 +2825,10 @@ Default: +pass:[default]+
[[fileselect.multiple_files.command]]
=== fileselect.multiple_files.command
-Command (and arguments) to use for selecting multiple files in forms. The command should write the selected file paths to the specified file, separated by newlines.
+Command (and arguments) to use for selecting multiple files in forms. The command should write the selected file paths to the specified file or to stdout, separated by newlines.
The following placeholders are defined:
-* `{}`: Filename of the file to be written to.
+* `{}`: Filename of the file to be written to. If not contained in any argument, the
+ standard output of the command is read instead.
Type: <<types,ShellCommand>>
@@ -2840,9 +2841,10 @@ Default:
[[fileselect.single_file.command]]
=== fileselect.single_file.command
-Command (and arguments) to use for selecting a single file in forms. The command should write the selected file path to the specified file.
+Command (and arguments) to use for selecting a single file in forms. The command should write the selected file path to the specified file or stdout.
The following placeholders are defined:
-* `{}`: Filename of the file to be written to.
+* `{}`: Filename of the file to be written to. If not contained in any argument, the
+ standard output of the command is read instead.
Type: <<types,ShellCommand>>