summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Schwab <git@nicholas-schwab.de>2021-04-22 15:17:54 +0200
committerFlorian Bruhin <me@the-compiler.org>2021-04-28 08:19:43 +0200
commit14a152f246b0a8969b55bc09306e585dff6f7951 (patch)
tree06bcb5c7326220b926306f8e502cf5bd719c2dc3
parentc684e5fd3a75442090f1debc8e4461e0507be83a (diff)
downloadqutebrowser-14a152f246b0a8969b55bc09306e585dff6f7951.tar.gz
qutebrowser-14a152f246b0a8969b55bc09306e585dff6f7951.zip
Added text: to valid values of statusbar.widgets, making the
documentation more uniform. (cherry picked from commit a083728168e3c126b8b6a67aa3d4d03845da8a46)
-rw-r--r--doc/help/settings.asciidoc2
-rw-r--r--qutebrowser/config/configdata.yml7
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: <<types,List of StatusbarWidget>>
@@ -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