diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 16075db27..4192ee054 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -56,6 +56,7 @@ Added - New `session.lazy_restore` setting which allows to not load pages immediately when restoring a session. - New `hist_importer.py` script to import history from Firefox/Chromium. +- New `{protocol}` replacement for `tabs.title.format` and friends. Changed ~~~~~~~ diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 967f6c4c6..28480486f 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -2913,8 +2913,9 @@ The following placeholders are defined: * `{scroll_pos}`: Page scroll position. * `{host}`: Host of the current web page. * `{backend}`: Either ''webkit'' or ''webengine'' -* `{private}` : Indicates when private mode is enabled. -* `{current_url}` : URL of the current web page. +* `{private}`: Indicates when private mode is enabled. +* `{current_url}`: URL of the current web page. +* `{protocol}`: Protocol (http/https/...) of the current web page. Type: <> diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index d96718d78..1318e8979 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1317,7 +1317,7 @@ tabs.title.format: * `{backend}`: Either ''webkit'' or ''webengine'' * `{private}`: Indicates when private mode is enabled. * `{current_url}`: URL of the current web page. - * `{protocol}`: Protocol (http/https/...) of the current web page + * `{protocol}`: Protocol (http/https/...) of the current web page. tabs.title.format_pinned: default: '{index}'