diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-05-13 12:48:14 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-05-13 12:48:14 +0200 |
| commit | 94cbfc3c45f117732738e34803f84eaa684cf920 (patch) | |
| tree | 1e0f899110a4aa79de7e568c1c6e683b96ea2b6c /config/qutebrowser | |
| parent | d95e046126c8f743c522d200e7d429947c1420a6 (diff) | |
| download | dotfiles-94cbfc3c45f117732738e34803f84eaa684cf920.tar.gz dotfiles-94cbfc3c45f117732738e34803f84eaa684cf920.zip | |
[qutebrowser] fix alacritty startup with external editor
Diffstat (limited to 'config/qutebrowser')
| -rw-r--r-- | config/qutebrowser/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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('<Ctrl-l>', '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']} {{}}"] |
