From 14a152f246b0a8969b55bc09306e585dff6f7951 Mon Sep 17 00:00:00 2001 From: Nicholas Schwab Date: Thu, 22 Apr 2021 15:17:54 +0200 Subject: Added text: to valid values of statusbar.widgets, making the documentation more uniform. (cherry picked from commit a083728168e3c126b8b6a67aa3d4d03845da8a46) --- doc/help/settings.asciidoc | 2 +- qutebrowser/config/configdata.yml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 7abaef834..2ef75ef00 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -3974,7 +3974,6 @@ 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: <> @@ -3987,6 +3986,7 @@ Valid values: * +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:+: `text:foo` displays the static text foo. Default: diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 4247f838a..4899924f9 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -1934,13 +1934,10 @@ 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:': "`text:foo` displays the static text foo." none_ok: true default: ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress'] - 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`. + desc: "List of widgets displayed in the statusbar." ## tabs -- cgit v1.2.3-54-g00ecf