From ad847be3b8e2cb2f8eabf7c818d0e6e9b6250331 Mon Sep 17 00:00:00 2001 From: Nicholas Schwab Date: Thu, 8 Apr 2021 18:16:04 +0200 Subject: Updated the documentation regarding statusbar.widgets. --- doc/help/settings.asciidoc | 6 +++++- qutebrowser/config/configdata.yml | 7 +++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index e747b0d75..a6a6cd5ff 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -3970,8 +3970,9 @@ Default: +pass:[always]+ [[statusbar.widgets]] === statusbar.widgets List of widgets displayed in the statusbar. +In addition to the listed values there is also the possibility to add `text:foo` widgets that will display `foo`. -Type: <> +Type: <> Valid values: @@ -4607,6 +4608,9 @@ When setting from `config.py`, both a string or a `re.compile(...)` object are v |ShellCommand|A shell command as a list. See the documentation for `List`. +|StatusbarWidget|A Widget for the status bar. + +Allows some predefined widgets and custom text-widgets via text:$CONTENT. |String|A string value. See the setting's valid values for more information on allowed values. diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 9ceb84173..596c8e1e7 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1927,10 +1927,13 @@ statusbar.widgets: - tabs: "Current active tab, e.g. `2`." - keypress: "Display pressed keys when composing a vi command." - progress: "Progress bar for the current page loading." - - text: "A text widget. Currently hard coded content." none_ok: true default: ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress'] - desc: List of widgets displayed in the statusbar. + desc: >- + List of widgets displayed in the statusbar. + + In addition to the listed values there is also the possibility + to add `text:foo` widgets that will display `foo`. ## tabs -- cgit v1.2.3-54-g00ecf