From 525cdd34788984e80ecd1e46527762b71555114c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 13 Jun 2022 13:18:41 +0200 Subject: Update docs --- doc/changelog.asciidoc | 2 ++ doc/help/settings.asciidoc | 2 +- qutebrowser/config/configdata.yml | 7 ++++--- 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." -- cgit v1.2.3-54-g00ecf