From: Samir Benmendil Date: Wed, 12 May 2021 19:18:50 +0000 (+0100) Subject: qutebrowser: use ranger as file selector X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/7b75dc285814afad6558e8a726a14fd00f58ec50 qutebrowser: use ranger as file selector --- diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 4888dfd..8ba1b71 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -744,21 +744,21 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l ## Valid values: ## - default: Use the default file selector. ## - external: Use an external command. -# c.fileselect.handler = 'default' +c.fileselect.handler = 'external' ## 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. The following placeholders are defined: * ## `{}`: Filename of the file to be written to. ## Type: ShellCommand -# c.fileselect.multiple_files.command = ['xterm', '-e', 'ranger', '--choosefiles={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefiles={}']) ## Command (and arguments) to use for selecting a single file in forms. ## The command should write the selected file path to the specified file. ## The following placeholders are defined: * `{}`: Filename of the file ## to be written to. ## Type: ShellCommand -# c.fileselect.single_file.command = ['xterm', '-e', 'ranger', '--choosefile={}'] +c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefile={}']) ## Font used in the completion categories. ## Type: Font