qutebrowser: Fallback to wezterm terminal by default
Since the starting parameters are fairly hardwired for wezterm anyway I don't see this making much sense with e.g. xterm. However, long-term, we should rather change the hard-dependency instead of doing it this way.
This commit is contained in:
parent
15cf9b192b
commit
41754c5d24
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
import os
|
||||
from typing import cast
|
||||
|
||||
from freedirect.freedirect import Redirects
|
||||
|
||||
# pylint: disable=C0111
|
||||
from qutebrowser.config.config import ConfigContainer # noqa: F401
|
||||
from qutebrowser.config.configfiles import ConfigAPI
|
||||
|
||||
from freedirect.freedirect import Redirects
|
||||
|
||||
config: ConfigAPI = cast(ConfigAPI, config) # noqa: F821 pylint: disable=E0602,C0103
|
||||
c: ConfigContainer = cast(ConfigContainer, c) # noqa: F821 pylint: disable=E0602,C0103
|
||||
|
||||
|
@ -25,7 +25,7 @@ c.content.javascript.log_message.excludes = {
|
|||
"userscript:_qute_js": ["*TrustedHTML*"],
|
||||
}
|
||||
|
||||
term = os.getenv("TERMINAL", "xterm")
|
||||
term = os.getenv("TERMINAL", "wezterm")
|
||||
|
||||
c.completion.web_history.max_items = 1000
|
||||
c.hints.uppercase = True
|
||||
|
|
Loading…
Reference in a new issue