]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: use ranger as file selector
authorSamir Benmendil <me@rmz.io>
Wed, 12 May 2021 19:18:50 +0000 (20:18 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 12 May 2021 19:18:50 +0000 (20:18 +0100)
qutebrowser/config.py

index 4888dfd0d1af1f49b1ff674089d240e9ef048455..8ba1b71983cb7d92e1f55a18c7beb0d7c90213b5 100644 (file)
@@ -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