From 3950a0418a322896c7199b2909d571abadd722e9 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 8 Jun 2023 11:56:16 -0400 Subject: [PATCH] qutebrowser: Use joshuto as the file chooser This works when combined with `quit --output-selected-files`. --- modules/qutebrowser/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/qutebrowser/default.nix b/modules/qutebrowser/default.nix index 0ebe75ad..6fac1b53 100644 --- a/modules/qutebrowser/default.nix +++ b/modules/qutebrowser/default.nix @@ -61,11 +61,10 @@ tabwidget.TabWidget.MUTE_STRING = "" tabwidget.TabWidget.AUDIBLE_STRING = "[A]" - # Use ranger as the file selector c.fileselect.handler = 'external' - c.fileselect.folder.command = ['kitty', '-e', 'ranger', '--choosedir={}'] - c.fileselect.multiple_files.command = ['kitty', '-e', 'ranger', '--choosefiles={}'] - c.fileselect.single_file.command = ['kitty', '-e', 'ranger', '--choosefile={}'] + c.fileselect.folder.command = ['kitty', '-e', 'joshuto', '--output-file', '{}'] + c.fileselect.multiple_files.command = ['kitty', '-e', 'joshuto', '--output-file', '{}'] + c.fileselect.single_file.command = ['kitty', '-e', 'joshuto', '--output-file', '{}'] # Better context menu colors c.colors.contextmenu.disabled.fg = '#808080'