summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-06-13 13:18:41 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-06-13 13:20:04 +0200
commit525cdd34788984e80ecd1e46527762b71555114c (patch)
treee6b7e435aa4359dd22305e9bcb96cc8c6b45f6b5
parentce27831740de4b3dc69c358b28dbd99596892ccb (diff)
downloadqutebrowser-525cdd34788984e80ecd1e46527762b71555114c.tar.gz
qutebrowser-525cdd34788984e80ecd1e46527762b71555114c.zip
Update docs
-rw-r--r--doc/changelog.asciidoc2
-rw-r--r--doc/help/settings.asciidoc2
-rw-r--r--qutebrowser/config/configdata.yml7
3 files changed, 7 insertions, 4 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index f75f3faa9..aaab078e9 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -64,6 +64,8 @@ Changed
currently focused element (`focused`).
- The `:click-element` command now can select the first found element via
`--select-first`.
+- The `statusbar.widgets` setting now supports a `clock` option to show the
+ current time.
Fixed
~~~~~
diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc
index c086ed783..9341648d0 100644
--- a/doc/help/settings.asciidoc
+++ b/doc/help/settings.asciidoc
@@ -4131,7 +4131,7 @@ Valid values:
* +keypress+: Display pressed keys when composing a vi command.
* +progress+: Progress bar for the current page loading.
* +text:foo+: Display the static text after the colon, `foo` in the example.
- * +clock+: Display current time. Format can be changed by adding like `clock:$format`. For format strings see link:https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior[the python datetime library].
+ * +clock+: Display current time. The format can be changed by adding a format string via `clock:...`. For supported format strings, see https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes[the Python datetime documentation].
Default:
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index 7b79e761d..e2b34e327 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -2062,9 +2062,10 @@ statusbar.widgets:
- keypress: "Display pressed keys when composing a vi command."
- progress: "Progress bar for the current page loading."
- 'text:foo': "Display the static text after the colon, `foo` in the example."
- - clock: "Display current time. Format can be changed by adding like
- `clock:$format`. For format strings see
- link:https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior[the python datetime library]."
+ - clock: "Display current time. The format can be changed by adding a
+ format string via `clock:...`. For supported format strings, see
+ https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes[the
+ Python datetime documentation]."
none_ok: true
default: ['keypress', 'url', 'scroll', 'history', 'tabs', 'progress']
desc: "List of widgets displayed in the statusbar."