From: Samir Benmendil Date: Thu, 7 Oct 2021 12:08:36 +0000 (+0100) Subject: qutebrowser: use ranger to select folders X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/529d8a1d5ab6741bef78f2da43eb993a39703074 qutebrowser: use ranger to select folders --- diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 5cd69a6..bb85d96 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -827,6 +827,14 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l ## Type: Encoding # c.editor.encoding = 'utf-8' +## Command (and arguments) to use for selecting a single folder in forms. +## The command should write the selected folder path to the specified +## file or stdout. The following placeholders are defined: * `{}`: +## Filename of the file to be written to. If not contained in any +## argument, the standard output of the command is read instead. +## Type: ShellCommand +c.fileselect.folder.command = in_terminal(['ranger', '--choosedir={}']) + ## 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