summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Schwab <git@nicholas-schwab.de>2021-04-08 18:16:04 +0200
committerNicholas Schwab <git@nicholas-schwab.de>2021-04-08 18:16:04 +0200
commitad847be3b8e2cb2f8eabf7c818d0e6e9b6250331 (patch)
tree61b86746962b10a088644c4b86cf2021312642a7
parent4bdbdea0946b78d92c3adbb43d03375d1aad63c9 (diff)
downloadqutebrowser-ad847be3b8e2cb2f8eabf7c818d0e6e9b6250331.tar.gz
qutebrowser-ad847be3b8e2cb2f8eabf7c818d0e6e9b6250331.zip
Updated the documentation regarding statusbar.widgets.
-rw-r--r--doc/help/settings.asciidoc6
-rw-r--r--qutebrowser/config/configdata.yml7
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: <<types,List of String>>
+Type: <<types,List of StatusbarWidget>>
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