diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 4cfdd8e18..859293117 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -377,7 +377,7 @@ def data(readonly=False): SettingValue(typ.FormatString(fields=['perc', 'perc_raw', 'title', 'title_sep', 'id', 'scroll_pos', 'host', - 'backend']), + 'backend', 'private']), '{perc}{title}{title_sep}qutebrowser'), "The format to use for the window title. The following " "placeholders are defined:\n\n" @@ -389,7 +389,8 @@ def data(readonly=False): "* `{id}`: The internal window ID of this window.\n" "* `{scroll_pos}`: The page scroll position.\n" "* `{host}`: The host of the current web page.\n" - "* `{backend}`: Either 'webkit' or 'webengine'"), + "* `{backend}`: Either 'webkit' or 'webengine'" + "* `{private}` : Indicates when private mode is enabled.\n"), ('modal-js-dialog', SettingValue(typ.Bool(), 'false'), diff --git a/qutebrowser/mainwindow/tabwidget.py b/qutebrowser/mainwindow/tabwidget.py index 9af720563..bf6d70010 100644 --- a/qutebrowser/mainwindow/tabwidget.py +++ b/qutebrowser/mainwindow/tabwidget.py @@ -164,6 +164,7 @@ class TabWidget(QTabWidget): fields['title_sep'] = ' - ' if page_title else '' fields['perc_raw'] = tab.progress() fields['backend'] = objects.backend.name + fields['private'] = ' [Private Mode] ' if tab.private else '' if tab.load_status() == usertypes.LoadStatus.loading: fields['perc'] = '[{}%] '.format(tab.progress())