From 94cbfc3c45f117732738e34803f84eaa684cf920 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 13 May 2021 12:48:14 +0200 Subject: [qutebrowser] fix alacritty startup with external editor --- config/qutebrowser/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 1cb9265..fc80eeb 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -7,7 +7,7 @@ config.bind(',x', 'hint links spawn mpv {hint-url}') config.bind('', 'spawn --userscript password_fill') terminal = os.environ['TERMINAL'] -if terminal in ["st", "urxvt"]: +if terminal in ["st", "urxvt", "alacritty"]: c.editor.command = [terminal, "-e", os.environ['VISUAL'], "{}"] else: c.editor.command = [terminal, "-e", f"{os.environ['VISUAL']} {{}}"] -- cgit v1.2.3